Re: Heading markup in tables

Take a look at the data table at
http://www.eramp.com/david/traffic_cop_prototype_staticc_no_rows.htm
The cells in the first column  are marked up as th and use h2 within.  Well this table uses rowspan. But the one I described in my mail does not and just    marking up elementary/mid/high school cells in first column  with say h2 and not the grades under them will be useful to a screen reader user.
Even while associating   data cells to header cells,  just th mark-up  is enough and one need not use headers-id for data cells in the grade-rows.
>Why not just style the <TH> the same as your <H>?
Styling alone will not  convey  the structural  relation.
Sailesh Panchang said:
> Hello all,
> HTML accessibility guidelines or specs say nothing about  use of heading
> taggs (h1, h2, etc) for marking up group / section headings within data
> tables. Consider, for instance first column groups grades 1 to 12 under
> elementary/mid and high schools and other columns have values against
> the grades.  Running down the first column with screen reading  software
>  will speak out the heading markup and inform the user  that the items
> below belong to that group. They could be marked uup with h2 or h3 and
> styled to maintain visual l&f. A simple technique but I  do not see it
> being mentioned for making certain data tables accessible. Comments?
> Sailesh Panchang
> Senior Accessibility Engineer
> Deque Systems,11180  Sunrise Valley Drive,
> 4th Floor, Reston VA 20191
> Tel: 703-225-0380 Extension 105
> E-mail: sailesh.panchang@deque.com
> Fax: 703-225-0387
> * Look up <http://www.deque.com> *

Received on Thursday, 3 June 2004 18:11:17 UTC