Describe the problem
This is an issue with
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?
- Go to menu toggle docs.
- 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
Describe the problem
This is an issue with
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:
aria-controlsproperty that includes the IDREF of the element it expandedaria-haspopupproperty that indicates the type of popuparia-expandedproperty changes when the toggled element is visible.How do you reproduce the problem?
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