Accessible everyday ideas for families and communities.

An Accessible Table Needs Headers That Stay Connected to the Data

A laptop on an accessible desk beside a refreshable braille display.
AI-generated photographic illustration; not documentary photography.

A cell containing “12” means little on its own. In a timetable, inventory or results table, the row and column headings explain what that number represents. An accessible table preserves those relationships for people navigating without the visual grid.

The W3C Web Accessibility Initiative’s table tutorial explains how header cells and their associations support this interpretation. Making the top row bold is not equivalent to marking it as a header in HTML.

Start with the simplest useful structure

Consider an invented borrowing table with columns for item and available quantity. Mark the column headings with th elements. If the first cell of each body row identifies the item, it may function as a row header rather than ordinary data.

For a straightforward table, scope=”col” and scope=”row” can express those relationships. W3C’s scope technique provides examples. More complex arrangements may need explicit header associations or, preferably, a simpler structure that avoids unnecessary spanning cells.

Test a value away from the top-left corner

Navigate to a middle cell with the assistive technology and browser combinations relevant to your audience. Check whether the expected item and quantity heading are available. Testing only the first row can miss broken relationships deeper in the table.

Also inspect what happens on a narrow screen. A responsive layout that visually rearranges cells must still preserve their meaning. Do not assume that a neat mobile screenshot proves the underlying table remains understandable.

A useful review note names the specific cell and the missing relationship: “The value in the third row is announced without its item name.” That gives the developer a reproducible issue rather than a vague request to make the table accessible.

If the content is merely being positioned into columns for appearance, a data table may be the wrong element. Reserve table semantics for information whose row-and-column relationships matter. Then ensure those relationships survive reading, navigation and responsive presentation, not just the original desktop view.