Data tables
People use tables to look things up and compare, and lose track when the headers scroll out of view.
The answer
Use real tables with marked-up headers, and keep the identifying column first. As strong as the weakest rule behind it: weak.
-
Mark header cells as headers and link them to their data cells in code, so the structure doesn’t depend on looks.
WCAG 2.2 success criterion 1.3.1 Info and Relationships, level A; the W3C tables tutorial gives the technique.
- Applies when
- Any table of data.
- Based on
- Standard or law
- Principle
- Work for everyone
- StandardStandard: Understanding SC 1.3.1 Info and RelationshipsW3C WAI, 2026
- GuidanceGuidance: Tables TutorialW3C WAI Education and Outreach Working Group, 2023
- Guidance: Table (GOV.UK Design System component)GOV.UK Design System, 2024
-
Use a real table for tabular data. Screen reader users find values faster in real tables than in grid layouts.
One study with 21 screen reader users: mean 126 s against 184 s. Task order was not randomized and tables produced more wrong answers in absolute count, partly from blank cells. One study, so 3.
- Applies when
- Data has rows and columns people look across.
- Based on
- Research
- Principle
- Work for everyone
- Common mistake
- A grid of styled boxes standing in for a table.
- ExperimentExperiment: Find and Seek: Assessing the Impact of Table Navigation on Information Look-up with a Screen ReaderKristin Williams, 2019
- GuidanceGuidance: Tables TutorialW3C WAI Education and Outreach Working Group, 2023
-
Keep sideways scrolling short. Put the identifying column first, and keep columns people compare side by side.
A 2003 study (n=28, abstract only) found horizontal scrolling the heaviest burden on a handheld. NN/g concurs without data. Old device, abstract only, so 2.
- Applies when
- A table is wider than the screen.
- Based on
- Research
- Principle
- Let practiced people go faster
- ExperimentExperiment: Presenting information on the small-screen interface: Effects of table formattingLoel Kim and Michael J. Albers, 2003
- User researchUser research: Data Tables: Four Major User TasksPage Laubheimer, 2022
The other rules
-
A data table may scroll both ways on a narrow screen, but everything around it must still reflow.
WCAG 2.2 success criterion 1.4.10 Reflow, level AA: data tables are excepted, surrounding content is not.
- Applies when
- A wide table on a small screen or at high zoom.
- Based on
- Standard or law
- Depends on
- Device and screen
- Principle
- Work for everyone
- StandardStandard: Understanding SC 1.4.10 ReflowW3C WAI, 2026
-
Give the table a caption that names it.
W3C tutorial and GOV.UK agree; guidance, not a stated requirement.
- Applies when
- Any data table.
- Based on
- Practitioner research
- Principle
- Recognition over recall
- GuidanceGuidance: Tables TutorialW3C WAI Education and Outreach Working Group, 2023
- Guidance: Table (GOV.UK Design System component)GOV.UK Design System, 2024
-
Use the interactive grid pattern only when cells are edited or used. Otherwise use a plain table.
ARIA practices guide, non-binding, no user testing. Rated on the guide's standing; one source.
- Applies when
- Deciding between a table and a grid.
- Based on
- Practitioner research
- Principle
- Work for everyone
- GuidanceGuidance: Grid (Interactive Tabular Data and Layout Containers) PatternW3C WAI ARIA Authoring Practices Guide, 2026
-
Keep column headings in view while the table scrolls.
One practitioner article, no method. WCAG lists releasing fixed headers at narrow widths as an advisory technique, so fixed headers must not cover focus or crowd out content at high zoom.
- Applies when
- The table is larger than the screen.
- Based on
- Practitioner research
- From research on
- Recognition is more accurate than recall
- Principle
- Recognition over recall
- Common mistake
- A table whose headers scroll away.
- User researchUser research: Data Tables: Four Major User TasksPage Laubheimer, 2022
-
For actions on several rows, put a checkbox on each row and the actions outside the rows.
One practitioner article.
- Applies when
- People act on many rows at once.
- Based on
- Practitioner research
- Principle
- Let practiced people go faster
- User researchUser research: Data Tables: Four Major User TasksPage Laubheimer, 2022
-
Don’t edit a row in a dialog that hides the other rows when people need them for reference.
One practitioner article reporting that users in testing consult other rows; no counts.
- Applies when
- Editing table data.
- Based on
- Practitioner research
- Principle
- Recognition over recall
- User researchUser research: Data Tables: Four Major User TasksPage Laubheimer, 2022
-
For long tables, use pages rather than endless scrolling when people need to reach or compare particular rows.
One design system without evidence. See Pagination vs infinite scroll vs load more.
- Applies when
- A long table.
- Based on
- Practitioner research
- Depends on
- Number of items
- Principle
- Keep people in control
- GuidanceGuidance: When to Use Which Table Loading BehaviorSAP
Accessibility
- WCAG 2.2 · 1.3.1WCAG 1.3.1 (A): header association.
- WCAG 2.2 · 1.4.10WCAG 1.4.10 (AA): reflow exception for the table only.
- Sorted column state: see Sorting, rule 2.
- Blank cells are read aloud as "blank" and caused errors in one study.
Open questions
- OpenScroll or restructure wide tables on small screens? The mobile table studies found could not be opened.
- OpenSticky headers, row density and row selection: no experiment found.
Sources
- ExperimentsExperiment: Find and Seek: Assessing the Impact of Table Navigation on Information Look-up with a Screen ReaderKristin Williams, 2019
- Experiment: Presenting information on the small-screen interface: Effects of table formattingLoel Kim and Michael J. Albers, 2003
- User researchUser research: Data Tables: Four Major User TasksPage Laubheimer, 2022
- StandardsStandard: Understanding SC 1.3.1 Info and RelationshipsW3C WAI, 2026
- Standard: Understanding SC 1.4.10 ReflowW3C WAI, 2026
- GuidanceGuidance: Tables TutorialW3C WAI Education and Outreach Working Group, 2023
- Guidance: Table (GOV.UK Design System component)GOV.UK Design System, 2024
- Guidance: Grid (Interactive Tabular Data and Layout Containers) PatternW3C WAI ARIA Authoring Practices Guide, 2026
- Guidance: When to Use Which Table Loading BehaviorSAP
Related
- SortingAlways show which sort order is in use, and keep it across pages and Back.Answer: moderate.
- Faceted filtersShow the applied filters together, each one removable, and keep them in the page address.Answer: moderate.
- Pagination vs infinite scroll vs load moreShow short lists whole. When people search or compare, use pages or a Load more button, not endless scrolling.Answer: moderate.
- DrawersPut a panel beside the content when people need both, and send long work to its own page.Answer: moderate.