Skip to content

MenuToggle - add aria attributes to documentation #6561

@nikkimk

Description

@nikkimk

Describe the problem
This is an issue with

  • Patternfly 5
  • Patternfly 6
  • other

Based on an accessibility review by @adamjohnson and myself, we are concerned that menu toggle does not give sufficient examples or advice on how to implement it with the element it toggles in an accessible way. Specifically, that it requires the following:

How do you reproduce the problem?

  1. Go to menu toggle docs.
  2. Note that there are no examples of how a menu-toggle interacts with the object it toggles.

Expected behavior
See the WAI ARIA Authoring Practice Guide's navigation menu button example for correct usage so that users are less likely to make accessibility errors.
Is this issue blocking you?
No

Any other information?

Without documenting how to use this button correctly the docs themselves fail to meet ATAG Principle B2, so the docs in their current state are an accessibility issue.

cc/ @markcaron

Metadata

Metadata

Assignees

No one assigned

    Labels

    A11yAccessibility related issuesStale

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions