Skip to content

Commit

Permalink
add example axe failure
Browse files Browse the repository at this point in the history
  • Loading branch information
marktnoonan committed Jul 11, 2023
1 parent 869d592 commit a7f740d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/Accordion/vue/Accordion.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<template>
<details ref="$details">
<button></button>
<img />
<summary
:class="[CssClasses.summary, headingClassName ?? CssClasses.summaryColor]"
>
Expand Down
1 change: 1 addition & 0 deletions components/Accordion/vue/AccordionVue.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ describe('<Accordion/>', () => {
icon: IconActionQuestionMarkCircle,
},
}).get('summary svg')
cy.checkA11y()
})

it('can be passed an icon as an element', () => {
Expand Down

0 comments on commit a7f740d

Please sign in to comment.