menuitem
Characteristics
Superclass Role:
- command
Subclass Roles:
- menuitemcheckbox
Related Concepts:
- JAPI MENU_ITEM
- listitem
- option
Required Context Role:
- group
- menu
- menubar
Inherited States and Properties:
- aria-atomic
- aria-busy (state)
- aria-controls
- aria-describedby
- aria-disabled (state)
- aria-dropeffect
- aria-flowto
- aria-grabbed (state)
- aria-haspopup
- aria-hidden (state)
- aria-invalid (state)
- aria-label
- aria-labelledby
- aria-live
- aria-owns
- aria-relevant
Name From:
- contents
- author
Accessible Name Required:
- True
An option in a set of choices contained by a menu or menubar.
The items or options available in the menu are the menu items. Menuitem role is specified for these items.
Authors may disable a menu item with the aria-disabled attribute. If the menu item has its aria-haspopup attribute set to true, it indicates that the menu item may be used to launch a sub-level menu, and authors should display a new sub-level menu when the menu item is activated.
Authors must ensure that menu items are owned by an element with role menu or menubar in order to identify that they are related widgets. Authors may separate menu items into sets by use of a separator or an element with an equivalent role from the native markup language.
Microsoft Active Accessibility accRole Property:
- ROLE_SYSTEM_MENUITEM
UI Automation ControlType Property:
- MenuItem
UI Automation AriaRole Property:
- menuitem