Skip to main content

Decide when to use a table and how to keep it simple

General · All · Last updated

Part of training module 3: The ideas that apply everywhere: structure, text alternatives, colour

Use a table only for data that has rows and columns, and keep it simple so a screen reader can announce which header belongs to each cell.

Steps

  1. Decide whether you need a table. Use one when readers compare values across rows and columns, such as a schedule or a price list. Do not use one to arrange a page, line up text or place pictures side by side.
  2. Plan the table on paper first. Name each column and each row. If a column or row has no clear name, the data may not belong in a table.
  3. Give the table one row of headers across the top. If the first column also names each row, mark that as a header column too.
  4. Keep the layout regular. Avoid merged cells, split cells and tables inside tables. A screen reader loses its place in these.
  5. If the data is too complex for one simple grid, split it into two or more smaller tables, each with its own heading.
  6. Avoid blank cells where you can. If a cell has no value, put a word such as "None" or "Not applicable" in it.
  7. Add a short title or caption above the table that says what it shows.
  8. Use your app's header row setting, not bold text. For Word, see Set a table header row in Word and Keep a Word table simple: no merged, split or nested cells.

Check it worked

  • Move through the table with the arrow keys. Each cell makes sense with its row and column header.
  • There are no merged or split cells.
  • The accessibility checker finds no table errors. It cannot judge whether the table is the right choice, so ask whether a list would be clearer.

Common mistakes

  • Building a form or page layout from a table.
  • Using a picture of a table. It cannot be read or navigated.
  • Using a blank row to create space between groups. Make separate tables instead.

The same task in other applications

More for General