Layout Tables Without Role Attributes
WCAG Focus: WCAG 1.3.1 (A)
Older WordPress posts, email-imported newsletters, and legacy plugins still occasionally use <table> tags purely to arrange columns side by side. Without role="presentation" (or role="none"), screen readers enter Table Navigation Mode and announce meaningless "Row 1, Column 2 of 2" coordinates for every layout block.
Why This Pattern Violates WCAG
WCAG 1.3.1 Info and Relationships (Level A) and Technique F46 prohibit using data-table markup (<th>, <caption>, summary) inside tables used purely for layout.
Adding role="presentation" removes table semantics from the accessibility tree while modern CSS Flexbox/Grid eliminates layout tables altogether.
Code Comparison
Inaccessible Layout Table Exposed as Data Table
<table>
<tr><td>Left sidebar text</td><td>Main column text</td></tr>
</table>
Compliant CSS Columns (or role="presentation" Fallback)
<div style="display:grid;grid-template-columns:1fr 2fr;gap:1.5rem;">
<div>Left sidebar text</div>
<div>Main column text</div>
</div>
How to Fix It in WordPress
- Convert layout tables to WordPress Columns blocks or CSS Grid/Flexbox.
- If a legacy layout table must remain temporarily, add role="presentation" on <table> and remove all <th> and <caption> tags.
Finding This Issue Automatically
Old content imported from legacy CMS platforms often conceals hidden layout tables that confuse screen reader users. Running the WP ADA Compliance Check plugin catches tables lacking data headers or layout role attributes (and even removes empty tables automatically) so you can modernize them cleanly.
WCAG References & Supporting Materials
WCAG Success Criteria
Supporting Documentation & Guides
- W3C Failure F46: Using th, caption, or non-empty summary in layout tables — Explains why data-table semantics on layout tables confuse screen reader navigation.
- W3C WAI Tutorial: Tables — Marking up simple and complex data tables with <th>, scope, headers, and captions.
Subscribe
Subscribe to receive daily Web Accessibility - Did you know? articles in your inbox.

