WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Missing support for scope="rowgroup" attributes within tables


From: Sailesh Panchang
Date: May 20, 2014 11:55AM

Refer to:
"Note that it's not always possible to make a clean division of cells
into headers or data. You should use the TD element for such cells
together with the id or scope attributes as appropriate".
under 11.4.1 Associating header information with data cells.

There's no problem when one has complete control on designing and
marking up tables.
But sometimes one is trying to make very complex financial / census
data type tables with colspan / rowspan and rows that are grouped
accessible and the developers may be forced to not make a cell look
different by changing markup from TD to TH as it happens in HTML4.
Sometimes in a simple table, the row header cell is in the second
column and not the first and one does not want a cell in the 2nd
column to look bold and centred.

I believe the HTML 4 note above concerns situations like these.

On 5/20/14, Olaf Drümmer < <EMAIL REMOVED> > wrote:
> Hi Sailesh,
> On 20 May 2014, at 16:04, Sailesh Panchang < <EMAIL REMOVED> >
> wrote:
>> in reality in complex tables it is not
>> possible to always markup all header cells as TH
> out of curiosity: could describe in which cases using a TD on a header cell
> cannot be avoided?
> Thanks,
> Olaf
> > > >