WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: The affect of "scope" attributes in <th> tags

for

From: David Farough
Date: Aug 26, 2010 2:09PM


I tried your sample code using Jaws starting with version 9 and then
with version 10 and finally with the current version 11.0.1467. All
versions handled your table with no difficulty.

David Farough
Application Accessibility Coordinator/coordonateur de l'accessibilité
Information Technology Services Directorate /
Direction des services d'information technologiques
Public Service Commission / Commission de la fonction publique
Email / Courriel: <EMAIL REMOVED>
Tel. / Tél: (613) 992-2779

>>> "Langum, Michael J" < <EMAIL REMOVED> > 10:42 AM Thursday,
August 26, 2010 >>>
Will screen readers correctly handle nested scope for columns and
rows?

For example, will the following table be correctly presented by a
screen reader? This would mean I could avoid the coding overhead of
using "id" and "headers".

<table border="1">
<tr>
<th scope="col" rowspan="2">Major Category</th>
<th scope="col" rowspan="2">Sub Category</th>
<th scope="col" colspan="2">Year 2009</th>
<th scope="col" colspan="2">Year 2010</th>
</tr>
<tr>
<th scope="col">Amount</th>
<th scope="col">% Change</th>
<th scope="col">Amount</th>
<th scope="col">% Change</th>
</tr>
<tr>
<th scope="row" rowspan="2">Supplies</th>
<th scope="row">Stationary</th>
<td>$200</td>
<td>3</td>
<td>$212</td>
<td>6</td>
</tr>
<tr>
<th scope="row">Cleaning</th>
<td>$150</td>
<td>1</td>
<td>$152</td>
<td>1</td>
</tr>
</table>

-- Mike