An ARIA menu does not contain the required menu items
| Field | Value |
|---|---|
| Rule code | Aria_Role_Menu_Invalid |
| WCAG conformance level | A |
| WCAG success criterion | 2.1.1 Keyboard |
| Must be fixed at source | No |
Description
ARIA (Accessible Rich Internet Applications) is a set of standards for adding accessible information to page elements. ARIA has a known list of valid values for the role attribute but we detected an element with role of menu which does not contain at least one element with role of menuitem, the role of menuitemcheckbox or the role of menuitemradio. View a full list of valid ARIA role definitions here: https://www.w3.org/TR/wai-aria-1.1/#role_definitions.
How to fix
Use only official, standard ARIA attributes. Refer to the W3C's full list of ARIA roles here: (https://www.w3.org/TR/wai-aria-1.1/#role_definitions). Check that all role names are spelled correctly and match a known, official role.