react-uswds icon indicating copy to clipboard operation
react-uswds copied to clipboard

[fix] Accordion component fails a11y test when `multiselectable` is true

Open vim-usds opened this issue 2 years ago • 0 comments

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:

  1. Install the Axe dev tools from here
  2. Render an Accordion component
  3. Enable multiselectable to true
  4. Open dev tools
  5. 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

Screen Shot 2022-10-13 at 8 58 14 PM

Additional context No

Device and Browser Information (please complete the following information if describing a UI bug):

  • Chrome 105

vim-usds avatar Oct 14 '22 04:10 vim-usds