WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: accesskeys and an ordered list starting at 0

for

From: Mark Pilgrim
Date: Aug 13, 2002 2:33PM


> <snipped>
> > If it quacks like tabular data, and it waddles like tabular data,
> then...
>
> It reads like an ordered list that starts at zero, which would be
> less
> code heavy and easier to be accessible.
> </snipped>
>
> you might also consider it as a definition list - see
> http://diveintoaccessibility.org/accessibility_statement.html - Mark
> uses a dl for his access keys, which seemed like an elegant solution
> to me.

Ha! Just this morning, I changed it to an unordered list, after discussions with Jukka Korpela, who argued that I was not really defining terms, so a definition list was structurally unsound. FWIW, Jukka Korpela uses a table with TH elements for row headers:

http://www.cs.tut.fi/~jkorpela/forms/accesskey.html (scroll to bottom)

I think there are reasonable arguments for all 3 (DL, UL, TABLE). I don't agree with the arguments for using OL start="0". We're not counting, we're presenting data. The numbers matter more than just defining order.

-Mark


----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/