E-mail List Archives

Table headings question

for

From: Preast, Vanessa
Date: Jul 26, 2017 7:55AM


I've run across the following table code and am not sure what to think. The table has <th> for the row headers cells only; there are no column headers. The table is also missing a caption.

Do data tables have to have column headers and caption to be accessible, or are row headers sufficient?

<div class="table-responsive">
<table class="table table-striped">
<tbody>
<tr>
<th>Hours</th>
<td>Monday-Friday from&nbsp;8 a.m. to 5 p.m</td>
</tr>
<tr>
<th>Appointments</th>
<td>[phone]</td>
</tr>
<tr>
<th>Location</th>
<td><a href="[url]"> [address]</a></td>
</tr>
</tbody>
</table></div>

Thanks,
Vanessa