W3C home > Mailing lists > Public > public-html@w3.org > May 2007

Re: Complex Table Examples

From: Laura Carlson <laura.lee.carlson@gmail.com>
Date: Wed, 23 May 2007 10:26:37 -0500
Message-ID: <1c8dbcaa0705230826y326f4eadqb5cd9e074f8200a7@mail.gmail.com>
To: "Thomas Broyer" <t.broyer@gmail.com>
Cc: public-html@w3.org
On 5/23/07, Thomas Broyer <t.broyer@gmail.com> wrote:

> You could rewrite the first table as follows:
> <table id="budgetRev" class="dec234" summary="budget revenue by
> source, amount, percentage change from previous year, and percentage
> of all revenue">
>   <caption> 2005–2006 Budget revenue by source </caption>
>   <thead>
>     <tr>
>       <th scope="rowgroup"> Source </th>
>       <th class="dec" abbr="amount"> Support (in millions of dollars) </th>
>       <th class="dec" abbr="change"> % Change from previous year </th>
>       <th class="dec" abbr="percentage"> % of all revenue </th>
>     </tr>
>   <tbody>
>     <tr>
>       <th scope="rowgroup" colspan="4">State revenue</th>
>     </tr>
>     <tr>
>       <th>General Program appropriations</th>
>       <td>255.1</td> <td> −1.7 </td> <td> 12 </td>
>     </tr>
>     <tr>
>       <th> Specific purpose </td>
>       <td> 151.8 </td> <td> 37.9 </td> <td> 7.2 </td>
>     </tr>
>     <tr class="total">
>       <th>  Total state revenue </td>
>       <td> 406.9 </td> <td> 10.1 </td> <td> 19.2 </td>
>     </tr>
>   </tbody>
>   <tbody>
>     <tr>
>       <th scope="rowgroup" colspan="4">Other revenue sources</th>
>     </tr>
>     ...
>   </tbody>
>   <tbody>
>     <tr class="total">
>       <th>  Total All Revenue </td>
>       <td> 2118.1 </td> <td> 11.6 </td> <td> 100 </td>
>     </tr>
>   </tbody>
> </table>
>
> The last <tbody> could be eventually a <tfoot>.

How does your revision parse on a per cell basis in screen readers?

Thanks,
Laura

-- 
Laura L. Carlson
Information Technology Systems and Services
University of Minnesota Duluth
Duluth, MN U.S.A. 55812-3009
http://www.d.umn.edu/goto/webdesign/
Received on Wednesday, 23 May 2007 15:26:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:15:58 GMT