W3C home > Mailing lists > Public > public-html@w3.org > February 2009

Re: a11y : cell headers order has to be consistent and ordered (was: revised table headers design is OK, right?)

From: Olivier GENDRIN <olivier.gendrin@gmail.com>
Date: Thu, 12 Feb 2009 11:58:42 +0100
Message-ID: <e2c275120902120258w571ee446lebcff3419ed8b92e@mail.gmail.com>
To: Charles McCathieNevile <chaals@opera.com>
Cc: James Graham <jgraham@opera.com>, public-html@w3.org, "DESCHAMPS Stephane ROSI/SI CLIENT" <stephane.deschamps@orange-ftgroup.com>

On Thu, Feb 12, 2009 at 11:26 AM, Charles McCathieNevile
<chaals@opera.com> wrote:
>> [1] http://tinyurl.com/b7t7wu
>
> /me slaps himself for not running that before.

Having a look at the result and at the computed header, it appears
that the sorting of the headers is inconsistent : for cell 2 2, the
header "buses" is the first one, for cell 2 3, it is the third one.
This is correct according to the spec [1], because "The headers
attribute, if specified, must contain a string consisting of an
unordered set of unique space-separated tokens".

I think that it should be an "ordered set of unique space-separated
tokens" [2], because of accessibility issues : people using the
headers will think that the order of the item is fixed.

We could indicate that "the order of the headers should be consistent
among the tables of a website"...

(hope I'm clear)

[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#attr-tdth-headers
[2] http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#ordered-set-of-unique-space-separated-tokens

-- 
Olivier G.
http://www.lespacedunmatin.info/blog/
Received on Thursday, 12 February 2009 10:59:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:01 UTC