A Tree item is missing a required parent element of Tree
| Field | Value |
|---|---|
| Rule code | TreeItem_ParentRequirement_Missing |
| WCAG conformance level | A |
| WCAG success criterion | 4.1.2 Name, Role, Value |
| Must be fixed at source | No |
Description
A treeitem element was found to be missing the required parent Tree element. Without the appropriate tree parent element, assistive technologies such as screen readers cannot correctly interpret the structure of the tree and its contents. View the W3 details on these components here: https://www.w3.org/TR/wai-aria-1.1/#treeitem and https://www.w3.org/TR/wai-aria-1.1/#tree.
How to fix
Ensure that each treeitem element (e.g., [role='treeitem']) is correctly nested within a parent tree element (e.g., [role='tree']). This nesting is crucial for assistive technologies to properly interpret the tree element structure.