A Cell or Gridcell element is missing a required parent element of Row
| Field | Value |
|---|---|
| Rule code | Cell_ParentRequirement_Missing |
| WCAG conformance level | A |
| WCAG success criterion | 4.1.2 Name, Role, Value |
| Must be fixed at source | No |
Description
A cell or gridcell 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/#listitem.
How to fix
Ensure that each cell or gridcell element (e.g., <td>, <th>, or [role='cell'], [role='gridcell']) 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 grid structure.