Skip to main content
Version: v6

A Columnheader or Rowheader element is missing a required parent element of Row

A Columnheader or Rowheader element is missing a required parent element of Row — rule summary
FieldValue
Rule codeColumnheader_ParentRequirement_Missing
WCAG conformance levelA
WCAG success criterion4.1.2 Name, Role, Value
Must be fixed at sourceNo

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.