A Listitem element is missing a required parent element of List
| Field | Value |
|---|---|
| Rule code | ListItem_ParentRequirement_Missing |
| WCAG conformance level | A |
| WCAG success criterion | 4.1.2 Name, Role, Value |
| Must be fixed at source | No |
Description
A listitem element was found to be missing required parent list elements. A listitem element, either HTML 'li' (list item ) or the ARIA role 'listitem' requires the 'list' element to parent it. Without lists, assistive technologies such as screen readers cannot convey the purpose or structure of the listitems to users, leading to incomplete or incorrect interpretation. This can cause confusion and navigation issues for users relying on assistive technologies. More details: https://www.w3.org/TR/wai-aria-1.1/#listitem.
How to fix
Ensure each listitem element (e.g., <li> or [role='listitem']) is contained within a '<ul>', '<ol>' or '[role=list]').