Tip #8: Markup tables appropriately
Include markup that clearly communicates the relationship between table headers and the cells within their scope.
Example Simple Table
Example Simple Table in HTML
<table>
<thead>
<tr>
<th scope=“col”>Week</th>
<th scope=“col”>Topic</th>
<th scope=“col”>Reading Assignment</th>
</tr>
</thead>
<tbody>
<tr>
<th scope=“row”>1</th>
<td>Course Introduction</td>
<td>Chapter 1</td>
</tr>
<!-- etc. -->
</tbody>
</table>
Example Complex Table
Accessible complex table in HTML (just the highlights)
<th id=“ay0708” colspan=“6”>2007-08</th>
<th id=“eco1”>
<abbr title=“Ecological Sciences”>Eco</abbr>
</th>
<th id=“female”>% Female</th>
<td headers=“ay0708 eco1 female”> 27</td>
Accessible PDF tables in Acrobat

