Tables

Issue

If you don’t designate the top row of your table as a header, a person using a screen reader will quickly lose all context for relationships between headers and data. The header row allows the screen reader to associate data in an individual cell with a label that gives it meaning.


What to do

Use tables for data, not layout, and create simple, non-nested tables that do not merge rows.

Designate the row/column with labels in it as a header within the content management or word processing app you’re using. Options for turning on headers varies from one environment to the next. Best practice is to include a title and a caption that succinctly describes the purpose of the table.

M&M Color analysis

RedGreenBlueOrangeYellowBrownWeight
1593391949.79
9171933848.98
1486819450.40
1573816849.16
1037922447.61
Contents of five bags of M&M candies separated by color and weight of each bag

Recommended tools

Who’s affected

People who:

  • Use screen readers (blind, low vision)

WCAG standard