Read This First
No ARIA is better than Bad ARIA. Before using any ARIA, read this to understand why.
How to build accessibility semantics into web patterns and widgets
No ARIA is better than Bad ARIA. Before using any ARIA, read this to understand why.
A menu button is a button that opens a menu as described in the Menu and Menubar Pattern. It is often styled as a typical push button with a downward pointing arrow or triangle to hint that activating the button will display a menu.
button
element that opens a menu of actions or commands where focus in the menu is managed using element.focus()
.a
element that opens a menu of items that behave as links.button
has aria-haspopup set to either menu
or true
.button
has aria-expanded set to true
.
When the menu is hidden, aria-expanded
is set to false
.
button
has a value specified for aria-controls that refers to the element with role menu
.
This is an unpublished draft preview that might include content that is not yet approved. The published website is at w3.org/WAI/.