-
Notifications
You must be signed in to change notification settings - Fork 309
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
Multiple accessibility problems with mobile menu #3188
Comments
Thanks Robert! We'll added to our current accessibility work |
Not at all. Feel free to work with to Abdul to get it fixed |
@iamjolly and I had spent some of the morning today looking at how best to approach this issue. It's especially relevant in mind of the ongoing work at #3097 to upgrade to USWDS v2, since part of the issue here is that the current 18F website doesn't take advantage of the built-in accessibility of USWDS navigation components and instead implements its own mobile menu behaviors. Thus, we considered a few ways to approach this:
I'd be curious to hear if you have any thoughts about this. I see that there have been quite a few recent updates to #3097, which could have an impact on which of these options could be best to consider. |
That sounds good @Dahianna . Talk to you then! |
Expected Behavior
People using screen readers on mobile devices, keyboards with mobile devices, or keyboards and browser zoom with mobile view enabled should be able to open, access, and close the mobile menu with the same relative ease of anyone else using the site.
Actual Behavior
aria-expanded="false"
), therefore a blind or low vision user does not know that the menu button is closed and can open the nav menu.div
near the bottom/end of the page's source, so a user must navigate to the bottom of the page to get to the menu.svg
needs anaria-label
or there should be visually-hidden text within thebutton
to provide assistive technology users with an accessible name. Currently, VoiceOver on iOS with Safari guesses it is a close button, but other assistive technology/OS/browser combinations may not offer this feature.Steps to reproduce the behavior
This issue is done when:
esc
button on their keyboard.Please unzip and watch this
screen recording of iPhone using Safari and VoiceOver to demonstrate the problem.
Additional resources that may be helpful:
The text was updated successfully, but these errors were encountered: