Table > Add <caption> element
Problem
No <caption>
element is present to explain the table's purpose.
Solution
- Include a
<caption>
element that describes the purpose of the table. - The
<caption>
should immediately follow the<table>
element. - The caption doesn't have to be visible so long as a) context is clear for sighted users — ideally with a heading that immediately precedes the table, and b) caption content remains accessible for screen reader users.
Edited by Jeremy Elder