Axe-core menu-item handling
This page is designed to demonstrate the handling of menuitem
elements by axe-core. The script that would normally manage the behavior of the menus is not implemented, because axe-core’s diagnosis of the document would not differ if the script were in operation.
Axe-core, as implemented by Axe DevTools, finds violations in this document based on the fact that the elements with role menuitem
are grandchildren, instead of children, of elements with role menu
or menubar
. However, Accessible Rich Internet Applications (WAI-ARIA) 1.1 permits one of these roles as a context role of menuitem
and does not require one of them to be a parent role.
Menu
Menu bar