Inappropriate Table Caption Check

RuleSets of AccessMonitor - the validator of web accessibility practices

Inappropriate Table Caption Check

Description

The “Inappropriate Table Caption Check” evaluates whether there is any <table> element that includes a <caption> but lacks proper header markups such as <th> elements or associated header attributes like scope, headers, or aria-labelledby.

Example outcome

I found 1 table without headers but that uses the <caption> element.

Impact

Fixes

To address <table> elements that include a <caption> but lack headers:

  1. Locate the <table> element.
  2. Add headers elements to it (i.e., <th> elements) in the appropriate row(s) and / or column(s).

Resources