-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accordion and Accordion Item - Ensure custom controls provide proper textual name, role, and state information - (2036569668) #5553
Comments
It looks like this issue is missing some information:
Issues without reproduction samples may not be prioritized. If you were unable to create a sample, please try to answer any questions that arise once development begins. Thanks for your understanding. |
The content isn't easily read back to assistive technology (AT). We should make sure when expanded/collapsed content can be accessed by AT. |
Similar to https://codepen.io/geospatialem/pen/gOBveyL, to ensure AT users are able to receive context upon expansion/collapsing of
|
**Related Issue:** #5553 ## Summary Updated HTML to improve a11y.
Installed and assigned for verification. |
Verified on the |
Module:
03 Accordion and Accordion Item
Violation:
Ensure custom controls provide proper textual name, role, and state information
WCAG Reference:
Instance ID:
2036569668
Severity:
7
Description:
[Issue]
Accordions lack full implementation, missing some roles and/or states information.
[User Impact]
Screen reader users will be unable to determine that these controls expand and collapse content. They will also have difficulty determining whether the controls are currently expanded or collapsed.
[Code Reference]
Note:
[Suggestion]
Ensure custom controls provide proper textual name, role, and state information.
For accordions, the following information is expected:
<button>
element.<button>
element must be the only child of this heading element.In addition, it is recommended that container elements have a region role as it greatly increases accessibility for non-visual users. This is not required though. More information in the link below.
[Recommended Reading]
For more information about creating accessible accordions, please see the W3C Web Accessibility Initiative's ARIA Authoring Practices Guide: https://www.w3.org/WAI/ARIA/apg/patterns/accordion/
Media Type:
Custom Controls
Additional Resources:
The text was updated successfully, but these errors were encountered: