RE: Why use SCOPE instead of TH

Use of the scope attribute on <td> elements that also serve as row
headers is shown in Example 1 in technique H63:
 
<blockquote
cite="http://www.w3.org/TR/2006/WD-WCAG20-TECHS-20060427/Overview.html#H
63">
The table below shows part of the schedule for a class. The table has
four columns and three rows. The column headers are Date, Topic, What to
read, and
What's due. These headers are marked with the th element, and the scope
attribute is used to associate each header with its column.
 
The first cell in each row contains data (the date), but it also
functions as a header for its row. Following the HTML 4.01
specification, it is marked
as a td element because it is both a data cell and a header cell. It
also has a scope attribute that associates it with its row.

</blockquote>
 
John
 
 

"Good design is accessible design." 

Dr. John M. Slatin, Director
Accessibility Institute
University of Texas at Austin
FAC 248C
1 University Station G9600
Austin, TX 78712
ph 512-495-4288, fax 512-495-4524
email jslatin@mail.utexas.edu
Web  <http://www.ital.utexas.edu/>
http://www.utexas.edu/research/accessibility 

-----Original Message-----
From: w3c-wai-gl-request@w3.org [mailto:w3c-wai-gl-request@w3.org] On
Behalf Of Bailey, Bruce
Sent: Friday, January 26, 2007 9:58 AM
To: Johannes Koch; WCAG-WG
Subject: RE: Why use SCOPE instead of TH



> 3) A cell may be data according the column header, but act as a header
for the row.

Thanks Johannes!  That should be number zero.  I am so pleased to have
an example that is an actually good reason for the technique!
 

Received on Friday, 26 January 2007 17:36:35 UTC