Picto thématique

Rule n° 237 - Captions for data tables are provided

An HTML table can be equipped with one. This can be displayed or not, but in any case, its presence and relevance are important for understanding the table.

#Accessibility #Structure and code #Development #Editoral


  • Allow users of technical aids (like screen readers) to easily identify the nature of the information provided in a table.


Use and fill in the HTML caption element for each data table.

If necessary, use a caption element hidden from the display.

Find out more:


For each data table:

  • Check the presence of the caption element. If this element is hidden from view using a CSS class, check that it remains accessible to screen readers;
  • Check the relevance of the caption element which should make it possible to identify the kind of information provided by the table.

This check can be partially automated to check that the caption title element is there, but checking its relevance must be done manually.

By Opquast - Read the license

Discover Opquast training and certification

The objective of these rules and the Opquast community mission is ‘making the web better’ for your customers and for everyone! Opquast rules cover the key major areas of risk that can negatively affect website users such as privacy, ecodesign, accessibility and security.

Opquast training has already allowed over 14,500 web professionals to have their skills certified. Train your teams or your students, contact us