menuitemcheckbox
Widget roleA menu item that holds a checkable true/false state, toggled in place without necessarily closing the menu. Its state is exposed through aria-checked, including 'mixed'. Use it for menu options that switch a setting on or off.
Used on
A checkable item within a menu.
Required properties
aria-checked— true, false, or mixed
Accessible name
From the item's child text content.
Example
role="menuitemcheckbox"
<li role="menuitemcheckbox" aria-checked="true">Word wrap</li>References