-
Notifications
You must be signed in to change notification settings - Fork 78
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
Block, Block Section - Ensure custom controls provide proper textual name, role, and state information - (2036569799) #5565
Comments
Could be related to a similar solution needed for #5553. |
Also came up in Map Viewer's accessibility audit. |
Hub team would like to +1 this issue 👍 |
After initial R&D a few small modifications are needed, which include:
Moving to the August milestone for next steps and implementation. |
@geospatialem ... with this ticket getting moved to the August milestone, which release might this fix be incorporated into? The August 28 release or the September 25 release, perhaps? |
Great question, @justinprather, and apologies for the confusion on the moving of milestones. Since the issue was marked as research, the aim for the July milestone was to carry out research to determine feasibility within the current milestone. Since it'll require a bit more effort with affecting two components and some intricacies, we opted to move to next month's release with next week's However, with the high priority nature of the issue, we are targeting to complete as soon as possible as part of the August release (August 28). |
Thanks for the specifics, @geospatialem! |
**Related Issue:** #5565 ## Summary Updated HTML to improve a11y. **Note**: this removes references to outdated `TEXT` constants, which were used before translations were built-in.
Installed and assigned for verification. |
The |
**Related Issue:** #5565 ## Summary Prior to this proposed fix, NVDA and JAWS were only receiving context that the `block` was expanded or collapsed due to the `title` prop. Updates include: - Adds an `aria-describedby` to provide context of the collapse/expansion in addition to the header (handled via the `id`) - Adds the `"header"` `id` to the block's `resources.ts`
Installed and assigned for verification. |
Verified with NVDA and JAWS for |
Module:
08 Block & Block Section
Violation:
Ensure custom controls provide proper textual name, role, and state information
WCAG Reference:
Instance ID:
2036569799
Severity:
7
Description:
[Issue]
There are accordions without appropriate state information. Examples include:
[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.Media Type:
Custom Controls
Additional Resources:
The text was updated successfully, but these errors were encountered: