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

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