Skip to content
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

Sidebar expandable sections toggles accessibility #1112

Closed
afercia opened this issue Jun 10, 2017 · 0 comments
Closed

Sidebar expandable sections toggles accessibility #1112

afercia opened this issue Jun 10, 2017 · 0 comments
Labels
[Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes).

Comments

@afercia
Copy link
Contributor

afercia commented Jun 10, 2017

All the expandable sections in the sidebar:

screen shot 2017-06-10 at 15 27 38

would need to inform assistive technologies users the sections are actually expandable. I'd propose a few simple changes, following patterns already used in core:

  • add an aria-expanded attribute to communicate the section state
  • use an aria-label to clarify what the toggle button action will do (different examples of this can be seen, for example, in the Customizer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes).
Projects
None yet
Development

No branches or pull requests

1 participant