Re: Complex Table Examples

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 UTC