Empty Table Headers

Empty Table Headers

WCAG Focus: WCAG 1.3.1 (A), 2.4.6 (AA)

Comparison tables frequently leave the top-left corner <th></th> completely empty or use blank header cells as spacers. When a screen reader traverses that column or row, it reads an empty header name before every cell or announces "blank" during navigation.

Why This Pattern Violates WCAG

WCAG 1.3.1 Info and Relationships (Level A) and 2.4.6 Headings and Labels (Level AA) require header cells to describe the data in their column or row cleanly.

Code Comparison

Inaccessible Empty Corner TH

<thead>
  <tr><th></th><th scope="col">Starter</th><th scope="col">Pro</th></tr>
</thead>

Compliant Descriptive Header

<thead>
  <tr><th scope="col">Feature</th><th scope="col">Starter</th><th scope="col">Pro</th></tr>
</thead>

How to Fix It in WordPress

  • Fill every <th> with a concise column or row label such as "Feature" or "Metric".
  • If a corner cell truly has no header meaning, convert it from <th> to an empty <td> instead.

Finding This Issue Automatically

Empty corner headers are a classic byproduct of Gutenberg and table-plugin templates. The WP ADA Compliance Check plugin flags empty <th> cells across your WordPress tables so screen readers never announce missing column names.

Subscribe

Subscribe to receive daily Web Accessibility - Did you know? articles in your inbox.

Cart Accessibility Tools
hide