Use of Nested Tables
WCAG Focus: WCAG 1.3.1 (A), 1.3.2 (A)
Placing one <table> inside the <td> of an outer <table> creates a confusing maze for assistive technology. Screen reader table-navigation shortcuts (Ctrl+Alt+Arrow keys) lose track of row and column coordinates whenever focus crosses between the outer and inner table.
Why This Pattern Violates WCAG
WCAG 1.3.1 Info and Relationships (Level A) and 1.3.2 Meaningful Sequence (Level A) expect clean, flat tabular structure without nested tables.
Code Comparison
Inaccessible Nested Table
<table>
<tr>
<td>Outer cell
<table><tr><td>Inner cell</td></tr></table>
</td>
</tr>
</table>
Compliant Flat Table or CSS Container
<div class="card">
<table>
<thead><tr><th scope="col">Metric</th></tr></thead>
<tbody><tr><td>Inner data</td></tr></tbody>
</table>
</div>
How to Fix It in WordPress
- Remove outer layout tables and place data tables inside standard <div> or <section> wrappers.
- Split nested data structures into clearly labeled sequential tables.
Finding This Issue Automatically
Nested tables frequently sneak in via pasted HTML email templates or older directory plugins. The WP ADA Compliance Check plugin flags nested tables automatically so you can flatten them before they trap screen reader users.
WCAG References & Supporting Materials
WCAG Success Criteria
- Understanding WCAG 1.3.1 Info and Relationships (Level A)
- Understanding WCAG 1.3.2 Meaningful Sequence (Level A)
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.

