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
- 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.
- 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.
- 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.
- Keep the layout regular. Avoid merged cells, split cells and tables inside tables. A screen reader loses its place in these.
- If the data is too complex for one simple grid, split it into two or more smaller tables, each with its own heading.
- Avoid blank cells where you can. If a cell has no value, put a word such as "None" or "Not applicable" in it.
- Add a short title or caption above the table that says what it shows.
- 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.
Related guides
The same task in other applications
- Tag merged cells and complex tables in Acrobat
- Mark table header cells and scope with the Table Editor in Acrobat
- Format data as a table with a header row in Excel
- Remove merged cells and blank rows and columns in Excel
- Give an Excel table a meaningful name
- Set table header rows in InDesign
More for General
- Offer an accessible alternate format when a file cannot be fixed
- Avoid using color as the only signal
- Give a complex image a long description or accessible alternate
- Check color contrast against WCAG AA (4.5:1 and 3:1)
- Decide whether an image is decorative
- Describe a chart or graph: alt text plus a data table