Favorites

ARIA menuitemcheckbox Role

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

The menuitemcheckbox role marks a menu item that can be checked or unchecked, such as Show grid in a View menu.

☕
Enjoying this site?

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

Buy us a coffee

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

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

ARIA Attributes

Syntax

<element role="menuitemcheckbox">

Example

<ul role="menu" aria-label="View" style="list-style:none;padding:0">
<li role="menuitemcheckbox" aria-checked="true" tabindex="0">Show ruler</li>
<li role="menuitemcheckbox" aria-checked="false" tabindex="-1">Show grid</li>
</ul>
<style>[aria-checked=true]::before{content:"\2713 "}</style>

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.

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