Calderdale CouncilAccessibility Guidance

Creating Accessible ContentTables

Tables are a great way to organise data. The visual nature of headings, rows and columns make complex data easier to read and understand.

Top tip

Before using a table, ask yourself would it make sense to put the content in a spreadsheet.

  • Only use tables for tabular data

Structure

Tables need to be built correctly using semantics including:

  • Description, caption
  • Heading group
  • Heading cells
  • Data cells
  • Row span / column span (for merged cells)

Layout tables

A common problem we see is authors using tables for layout and design to:

  • add background colours
  • position content in a grid

These are also known as ghost tables, because its often not clear that you are looking at a table.

Screen-reader programs can see them because they read the underlying semantic metadata. They will try to read the content as tabular data. This can be confusing for someone who can't see the page layout.

Merged cells

Merged cells can cause problems for screen readers.

Tables with merged cells must be created with care using:

  • HTML, or
  • Adobe Acrobat

This is so each merged cell can be correctly mapped to the relevant heading cell.

Merged cells can not be made accessible in Microsoft Word.

Often, merged cells can be avoided by refactoring. This can involve duplicating information or creating more tables which may not always be the best solution.

Resources

Was this page helpful?