` of the table should contain `` 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 ` | ` 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.
=== Code examples
==== Noncompliant code example
[source,html,diff-id=1,diff-type=noncompliant]
----
Name |
Age |
John Doe |
24 |
Alice Doe |
54 |
----
==== Compliant solution
[source,html,diff-id=1,diff-type=compliant]
----
Name |
Age |
John Doe |
24 |
Alice Doe |
54 |
----
== Resources
=== Documentation
* https://www.w3.org/WAI/WCAG21/quickref/?versions=2.0#qr-content-structure-separation-programmatic[WCAG2, 1.3.1] - Info and Relationships
* https://www.w3.org/TR/WCAG20-TECHS/H51[WCAG2, H51] - Using table markup to present tabular information
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Message
Add " | " headers to this ""
=== Highlighting
The opening tag, without its content.
endif::env-github,rspecator-view[]
|