A Columnheader or Rowheader element is missing a required parent element of Row
| Field | Value |
|---|---|
| Rule code | Columnheader_ParentRequirement_Missing |
| WCAG conformance level | A |
| WCAG success criterion | 4.1.2 Name, Role, Value |
| Must be fixed at source | No |
Description
A columnheader or rowheader element was found to be missing the required parent row element. Without the appropriate row parent, assistive technologies such as screen readers cannot correctly interpret the structure and relationships of the table or grid. This can lead to confusion and difficulties for users relying on these technologies to navigate and understand the content. More details: https://www.w3.org/TR/wai-aria-1.1/#rowheader and https://www.w3.org/TR/wai-aria-1.1/#columnheader.
How to fix
Ensure that each columnheader or rowheader element (e.g., [role='columnheader'], [role='rowheader'] is correctly nested within a parent row element (e.g., <tr> or [role='row']). This nesting is crucial for assistive technologies to properly interpret the table or rowheader structure.