Missing Table Headers Check
Description
The “Missing Table Headers Check” evaluates whether there is any <table> element used to present data with no appropriate header markups (<th>, scope, or headers attributes).
Example outcome
I found 1 table without headers.
Impact
- Visual Impairments: Screen readers rely on
<th>and their attributes (scope,headers) to convey context. - Motor Impairments: Users navigating by keyboard or assistive tech may not be able to skim through tabular data meaningfully.
- Cognitive Disabilities: Lack of visual or auditory anchors for data relationships.
Fixes
To address <table> elements with no headers:
- Locate the
<table>element. - Add headers elements to it (i.e.,
<th>elements) in the appropriate row(s) and / or column(s).