Favorites

ARIA menuitem Role

menuitem
ARIA Widget RoleThis ARIA role is supported by all modern browsers.
Updated 28th November 2026

The menuitem role marks an option in a menu or menu bar that performs an action or opens a submenu.

☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee

Description

The menuitem role identifies an option in a menu or menu bar, such as "Copy" or "Save as" in an application menu. It must be inside an element with the menu or menubar role, or a group within one.

Menu items follow the menu keyboard pattern: the arrow keys move between items, Enter activates the item, Escape closes the menu, and typing a letter moves to the next item starting with it. Usually only the focused item is in the Tab order. An item that opens a submenu uses aria-haspopup="menu" and aria-expanded.

Screen readers switch to a special mode inside menus, so only use these roles for application-style menus. A list of navigation links should stay a list of links.

Properties

Category
Widget
HTML equivalent
None
Accessible name from
contents, author
Required parent role
group, menu, menubar
Required child roles
None

ARIA Attributes

Required
None
Supported
aria-disabled, aria-expanded, aria-haspopup, aria-posinset, aria-setsize
Prohibited
None
Global
All global ARIA attributes can also be used, such as aria-label, aria-labelledby, aria-describedby, aria-hidden.

Syntax

<element role="menuitem">

Example

<button type="button" aria-haspopup="menu" aria-expanded="true" aria-controls="m">Edit</button>
<ul role="menu" id="m" aria-label="Edit" style="list-style:none;padding:0;border:1px solid #ccc;width:120px">
<li role="menuitem" tabindex="0">Cut</li>
<li role="menuitem" tabindex="-1">Copy</li>
<li role="menuitem" tabindex="-1">Paste</li>
</ul>

Browser Support

The following information will show you the current browser support for the menuitem ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.

This ARIA role is supported by all modern browsers.

Desktop

Chrome
Edge
Firefox
Opera
Safari

Tablets & Mobile

Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-
Supported Unknown Not supported
☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee