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

Re: html 5 and accessibility issue

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sun, 01 Jul 2007 02:07:17 +1000
Message-ID: <46867FB5.9030509@lachy.id.au>
To: Steven Faulkner <faulkner.steve@gmail.com>
CC: aurélien levy <aurelien.levy@free.fr>, public-html@w3.org

Steven Faulkner wrote:
>>> <dl>
>>>  <dt> 1st terme </dt>
>>>  <dd> 1st terme description </dd>
>>>  <dd> 2nd terme description </dd>
>>>  <dt> 2nd terme </dt>
>>>  <dt> 3rd terme</dt>
>>>  <dd> 3rd terme description</dd>
>>> </dl>
>>>
>>> with no way for AT to know that 2nd terme description is actually the
>>> 2nd terme description and not the second description of the first terme
>> 
>> Actually, no, you can't. What you're doing is not conforming to either
>> HTML 4 or HTML 5.
> 
> How is the code of aurelien's example definition list not conforming
> to html 4.01?

It is technically conforming, but the example is trying to associate a 
<dd> with a subsequent <dt>, which has never been possible.  It's also 
not clear what the use case for doing so is.  Just swap the <dt> and 
<dd> for the 2nd term and description, and it gives the intended meaning.

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Saturday, 30 June 2007 16:07:38 UTC

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