ARIA menuitemcheckbox Role
The menuitemcheckbox role marks a menu item that can be checked or unchecked, such as Show grid in a View menu.
Description
The menuitemcheckbox role identifies a checkable menu item, with a checked state given by the required aria-checked attribute. It is used for independent on/off options in a menu, like "Word wrap" or "Show ruler". Screen readers announce the state, for example "Show ruler, checked".
Activating it toggles the state, usually without closing the menu. Like other menu items it must be in a menu, menubar or group. When only one option in a set can be chosen, use menuitemradio.
Properties
ARIA Attributes
- Required
aria-checked- 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="menuitemcheckbox">
Example
Browser Support
The following information will show you the current browser support for the menuitemcheckbox ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.
Desktop





Tablets & Mobile





