Tabla con celdas de encabezado pero sin celdas de datos
En Neova Se ejecuta a partir del propio rastreo: no hay nada que configurar.
Regla revisada por última vez el 17 de octubre de 2026 · Guía actualizada el 7 de julio de 2026
WCAG 1.3.1 exige que las relaciones de la tabla estén disponibles en el código. Sin celdas de datos, los lectores de pantalla no tienen nada con lo que relacionar los encabezados.
Qué puedes hacer
Añade las celdas de datos, o usa otros elementos en lugar de th si el contenido no es una tabla de datos.
Por qué Neova lo señala
Las celdas de encabezado etiquetan las celdas de datos; sin td, los lectores de pantalla no tienen a qué asociar los encabezados.
Suele indicar que se usó th para maquetar o dar estilo, o que las filas se cargan después por script.
WCAG 1.3.1 (nivel A) exige que las relaciones de la tabla estén en el marcado.
A <th> that describes no data cells is a header pointing at nothing — usually a leftover from a layout table or a half-built data table. Assistive tech can’t map it to any content, so either give the header real cells to describe or drop the table markup and use CSS for layout.
What This Check Flags
This is the axe-core th-has-data-cells rule. It inspects every <th> and every element with role="columnheader" or role="rowheader" and confirms each one actually describes data cells. When a header sits in a table that has no data cells for it to point at, the check fails. It maps to WCAG 2.1 SC 1.3.1 Info and Relationships (Level A): a header announces what a column or row contains, and when there is nothing under or beside it, the header makes a promise the table never keeps — which is exactly the broken relationship the rule catches.
Data Tables vs. Layout Tables
A data table presents information where a cell’s meaning depends on its row and column — a pricing grid, a schedule, a spec sheet. Those need headers so screen readers can announce context (“Price, $49”). A layout table was the old way to position page elements before CSS did the job properly. This rule fires most often when someone built a layout table but sprinkled in <th> tags — often just to bold or centre some text — with no genuine data relationship behind them.
A Real Failing Example
Here a table has header cells but the body rows use <td> in a way that leaves one header describing nothing, plus a stray header row with no matching data:
<table>
<tr>
<th>Plan</th>
<th>Price</th>
<th>Seats</th>
</tr>
<tr>
<th>Notes</th> <!-- header with no data cells below it -->
</tr>
</table>
The “Notes” header sits alone with no row of <td> beneath it, so th-has-data-cells flags it. The fix is to make the table an honest grid where every header owns a column of data cells:
Now every header has a column of data underneath it, scope="col" makes the association explicit, and a screen reader can announce “Price, $49” as it moves across the row.
What a Screen Reader Hears
Situation
Announced to the User
Result
Header with matching data cells
“Price, column 2, $49”
Context is clear
Header pointing at no data
“Notes” — then silence
Orphaned, confusing
Layout table with stray <th>
Reads it as a data header falsely
Table mode fires for no reason
Proper layout via CSS grid
Reads content in order, no table mode
Clean and predictable
How to Detect It
Screaming Frog — run a crawl with a custom extraction (or the built-in accessibility integration if enabled) to pull <table> markup, then flag tables where a <th> count outstrips the <td> rows. Odd ratios are your candidates.
axe DevTools — run the extension and look for the th-has-data-cells violation. It points at the exact header element with no associated data cells.
Lighthouse — the Accessibility audit includes table and header checks; a failing table structure shows up in the results with the offending node.
View Source / DevTools Elements — inspect the table by hand. Count the <th> cells against the body rows. A header with no column or row of <td> behind it is the failure — and often a sign the table is really doing layout.
How to Fix It
If It’s a Real Data Table
Make sure every header has a full column (or row) of <td> data cells beneath or beside it.
Add scope="col" or scope="row" so the header-to-cell association is explicit, not guessed.
Remove any leftover header cells that describe nothing — a “spacer” or “notes” header with no data is dead weight.
If It’s Really a Layout Table
Stop using a table for layout. Rebuild the layout with CSS — flexbox or grid handles columns and alignment far better.
If ripping it out now is not realistic, at minimum change every <th> to <td> and add role="presentation" to the table so assistive tech stops treating it as data.
Common Mistakes
Bolding text with <th>. Header cells are for structure, not styling. If you just want bold or centred text, use <td> and CSS.
Leaving a stray header row. A “title” row of <th> spanning the top with no colspan and no data underneath each one trips the rule. Use a <caption> for a table title instead.
Fixing the symptom, ignoring the cause. Patching one orphaned header when the whole table is a layout hack just moves the problem. Decide first whether it is data or layout, then fix accordingly.
FAQ
Do I Need Scope on Every Header?
For a simple grid, browsers often infer the association, but adding scope="col" and scope="row" removes the guesswork and is the safest habit. For complex tables with merged cells it becomes essential. Related: scope attribute usage.
My Table Looks Fine Visually — Why Does It Fail?
Visual appearance and the accessibility tree are two different things. A header can look aligned over a column while the markup leaves it associated with no <td> at all. The rule reads the code, not the pixels.
Is This the Same as Headers Needing Discernible Text?
No — that’s a separate check about a header being empty or unreadable. This one is about a header that has text but describes no data. See ensure table headers have discernible text for the other side.
What About Headers That Reference IDs?
Complex tables can tie cells to headers with headers and id attributes. If those references break, you get a related failure. See table headers must reference valid IDs.
Does Fixing This Help SEO?
Clean, genuine data tables are easier for crawlers to parse and are the kind of structured content that can earn richer treatment in results. It also feeds the broader overlap between accessibility and SEO.
Need a full technical audit?
Neova runs deep crawls that catch issues like this across your whole site.
Encuéntralo en tu propio sitio
Neova ejecuta esta comprobación y todas las demás en cada rastreo, y luego escribe la corrección como un ticket para tu equipo.
App de escritorio para Mac, Windows y Linux
Las 696 comprobaciones, cada una con su fuente
Search Console y Analytics 4, conectados en solo lectura
Tickets para Jira, Linear y Asana
Descargar NeovaPlan Desktop Free, o Solo gratis durante 14 días, sin tarjeta.