HTML & Semantics5 min readUpdated 2026-11-15

Creating Accessible Data Tables: <caption>, <thead> & <th scope>

Make data tables effortless to navigate in screen readers on desktop and mobile.

Key Takeaways

  • Always use <th> with scope='col' or scope='row' for headers—never bold <td> cells.
  • Provide a <caption> describing the table's purpose.
  • Avoid merged cells and layout tables.

Responsive Overflow Without Breaking Reflow

Wrap wide tables in an overflow-x: auto container with tabindex='0' and role='region' so keyboard users can scroll wide columns.

Frequently Asked Questions

No—use CSS Grid/Flexbox for layout; if legacy layout tables exist, add role='presentation'.

Interactive Tools for This Guide

Continue Reading