rspec/rules/S5256/how.adoc

9 lines
439 B
Plaintext
Raw Normal View History

== How to fix it
The first `<tr>` of the table should contain `<th>` elements, with the appropriate description of what the data in those columns represents.
=== Going the extra mile
Headers should be properly associated with the corresponding `<td>` cells by using either a `scope` attribute or `headers` and `id` attributes.
See https://www.w3.org/WAI/tutorials/tables/tips/[W3C WAI Web Accessibility Tutorials] for more information.