Skip to content

Find what you need, instantly

Search components, ARIA roles & attributes, and WCAG criteria.

All roles

menu

Composite widget role

A list of choices or commands the user can invoke, such as an application or context menu — not site navigation. Its items use roles like menuitem, menuitemcheckbox, and menuitemradio, and it's navigated with the arrow keys per the APG menu pattern. It's usually opened from a menu button and closed on selection or Escape.

Used on
A container for a set of menu items, usually opened from a menu button.
Accessible name
Recommended, via aria-labelledby (the button) or aria-label.
Used by components
Example
role="menu"
<ul role="menu">
  <li role="menuitem">Rename</li>
</ul>
See a live, tested example on the Menu & Menu Button page