Skip to main content

Tables

Table has empty rows

WCAG 2.2 success criterion 1.3.1 Info and Relationships (Level A)

WCAG 2.2
1.3.1 Info and Relationships
Level
A
Default severity
Tip
Available in
Free

Why it matters

Empty rows are usually left over from editing, or added to make space between groups of rows. Sighted visitors skip past them, but screen readers still count them in the row total and announce "blank" for every cell, which makes the table longer and harder to follow.

Who it affects: Screen reader users, who hear the header for each cell as they move through a table.

What Lumtera flags

Tables with one or more rows in which every cell is empty — no text, and no image, icon, form field, button, embed or media. Each table is reported once, with the number of empty rows. Tables marked role="presentation", and tables that are empty throughout (a placeholder not yet filled in), are skipped.

Check ID table-empty-row — use it to filter the content report or with wp lumtera issues --rule.

How to fix it in WordPress

Delete the empty rows: click into a cell of the row and choose Delete row from the Table block toolbar. To add space between rows, use the table's styles instead of blank rows.

Example

Flagged
<tr><td>Personal</td><td>$149</td></tr>
<tr><td></td><td></td></tr>
<tr><td>Agency</td><td>$399</td></tr>
Fixed
<tr><td>Personal</td><td>$149</td></tr>
<tr><td>Agency</td><td>$399</td></tr>

How to check your fix

  1. Update the post. The issue disappears from the Accessibility sidebar on the next check, and from the site report on the next scan.
  2. With a screen reader, move cell by cell (VoiceOver: Ctrl + Option + arrow keys). Each value should be announced with its column or row header.

Find this issue across your whole site

Lumtera runs this check in the block editor sidebar as you write, in the Elementor panel, in Review mode on the live page, and across the whole site in the content report and with wp lumtera scan. You can change its severity or turn it off in Accessibility → Settings.

All checks

Start with the free plugin today

All 64 checks, the editor sidebar, Elementor panel and site report — free, with no account and no page limits.