W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2003

Re: <tfoot> headers & Accessibility?

From: Charles McCathieNevile <charles@sidar.org>
Date: Thu, 13 Mar 2003 15:04:45 +0100
Message-ID: <3E708FFD.1020204@sidar.org>
To: Scott Rippon <scott.rippon@arts.monash.edu.au>
CC: w3c-wai-ig@w3.org

It seems right to me. Is your question whether the syntax is correct 
(you could check that at an HTML validator - W3C's is at 
http://validator.w3.org and has pointers to a few others), or about some 
aspect of the way you have used it?

The latter would be more obviously at home on this list, but it isn't 
clear, since there are so many possiblities, but please be really 
specific if you don't want broad general answers. An example of the latter:
This will work with today's expensive toys - JAWS, HPR, etc first 
implemented headers attributes rather than the well-defined algorithms 
in HTML. In principle you shouldn't need those attributes in a table 
this simple, but only a few tools (like the tablin table re-organiser) 
can handle this cleanly at the moment

cheers

Chaals
--
Charles McCathieNevile            Fundacion Sidar
http://www.sidar.org

Scott Rippon wrote:

>Dear All
>
>I apologize if this is an inappropriate place to email this question.  I
>wasn't able to find an answer to my question in the mailing lists.
>
>I'm having trouble understanding how to use <thead>, <tfoot> and <tbody>
>and id and header attributes.  Using the example on this page is this
>correct?
>
>http://www.w3.org/TR/WCAG10-HTML-TECHS/#data-tables
>
><table border="1" 
> summary="This table charts the number of
>          cups of coffee consumed by each senator,  
>          the type of coffee (decaf or regular),
>          and whether taken with sugar.">
>  <caption>Cups of coffee consumed by each senator</caption>
>  <thead>
>    <tr>   
>      <th id="header1">Name</th>
>      <th id="header2">Cups</th>     
>      <th id="header3" abbr="Type">Type of  Coffee</th>   
>      <th id="header4">Sugar?</th>
>    </tr>
>  </thead>
>  <tfoot>
>    <tr>   
>      <td>Name</td>
>      <td>Cups</td>     
>      <td>Type of  Coffee</td>   
>      <td>Sugar?</td>
>    </tr>
>  </tfoot>
>  <tbody>
>    <tr>  
>      <td headers="header1">T. Sexton</td>  
>      <td headers="header2">10</td>
>      <td headers="header3">Espresso</td>
>      <td headers="header4">No</td>
>    </tr>
>    <tr>  
>      <td headers="header1">J. Dinnen</td> 
>      <td headers="header2">5</td>
>      <td headers="header3">Decaf</td>
>      <td headers="header4">Yes</td>
>    </tr>
>  </tbody>
></table>
>
>Any help would be deeply appreciated.
>
>Kind regards,
>Scott Rippon.
>  
>
Received on Thursday, 13 March 2003 09:05:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:08 GMT