Skip to content

Instantly share code, notes, and snippets.

@freejoe76
Last active October 30, 2018 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save freejoe76/79570f5e4a67e9b482ed6983612aca84 to your computer and use it in GitHub Desktop.
Save freejoe76/79570f5e4a67e9b482ed6983612aca84 to your computer and use it in GitHub Desktop.
Semantic, accessible markup examples. More about table accessibility: https://webaim.org/techniques/tables/data
<table>
<caption>Country populations, 2018</caption>
<thead>
<tr>
<th scope="col" abbr="">Country</th>
<th scope="col" abbr="">Population</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">France</th>
<td>1000000</td>
</tr>
</tbody>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment