W3C home > Mailing lists > Public > public-html@w3.org > June 2008

Re: @headers on th too or just td?

From: Steven Faulkner <faulkner.steve@gmail.com>
Date: Fri, 27 Jun 2008 11:00:09 +0100
Message-ID: <55687cf80806270300p7015fc56wd74ee743bc8b350d@mail.gmail.com>
To: "Dan Connolly" <connolly@w3.org>
Cc: "public-html@w3.org WG" <public-html@w3.org>, public-comments-wcag20@w3.org
I discussed the issue of @headers on th elements with Gez lemon:

he came up with some info on the topic:

http://www.w3.org/TR/html401/struct/tables.html#h-11.2.6

In the DTD fragment, they have the following comment:

<!-- TH is for headers, TD for data, but for cells acting as both use TD -->

And then down in the associating header information with data cells:
http://www.w3.org/TR/html401/struct/tables.html#h-11.4.1

They have:
"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."

Considering that, it's a bit strange that they allow the headers
attribute on th elements. Having a header implies that the cell
contains data, in which case it should be marked up with td. That's
probably why HTML5 have removed it from there, as it wouldn't make
sense.

-- 
with regards

Steve Faulkner
Technical Director - TPG Europe
Director - Web Accessibility Tools Consortium

www.paciellogroup.com | www.wat-c.org
Web Accessibility Toolbar -
http://www.paciellogroup.com/resources/wat-ie-about.html
Received on Friday, 27 June 2008 10:00:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:55 UTC