![github-actions[bot]](/assets/img/avatar_default.png)
* Add javascript to rule S5256 * [JS-3] Add Rspec --------- Co-authored-by: zglicz <zglicz@users.noreply.github.com> Co-authored-by: Michal Zgliczynski <michal.zgliczynski@sonarsource.com>
9 lines
439 B
Plaintext
9 lines
439 B
Plaintext
== 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.
|