Skip to content

Sidebar expandable sections toggles accessibility #1112

Closed

Description

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

Metadata

Assignees

No one assigned

    Labels

    [Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions