react-uswds
react-uswds copied to clipboard
[fix] Accordion component fails a11y test when `multiselectable` is true
ReactUSWDS Version & USWDS Version: ReactUSWDS: 3.1.0 USWDS: 2.13.3
Describe the bug
When setting the prop of multiselectable
to true on the Accordion component, it fails the Axe Dev tools a11y check. When no setting this prop, the a11y check passes.
To Reproduce Steps to reproduce the behavior:
- Install the Axe dev tools from here
- Render an Accordion component
- Enable
multiselectable
to true - Open dev tools
- Run devAxe on the page and error in screenshots section
Expected behavior
Expecting the component to pass a11y checks when multiselectable
is true or false.
Screenshots
Additional context No
Device and Browser Information (please complete the following information if describing a UI bug):
- Chrome 105