W3C home > Mailing lists > Public > www-html@w3.org > May 2005

Re: Comments on the XHTML 2.0 WD

From: Maxwell Terpstra <terpstra@myrealbox.com>
Date: Sat, 28 May 2005 01:16:53 -0700
Message-Id: <335c35eb02a1116cf58143c946937c92@myrealbox.com>
Cc: www-html@w3.org
To: Kelly Miller <lightsolphoenix@gmail.com>

On 27-May-05, at 19:43, Kelly Miller wrote:
> Maxwell Terpstra wrote:
>> In the case where additional mark-up is necessary, a definition list 
>> can be nested inside of the list-item.
I should clarify that my comments weren't about navigational lists in 
particular.  I was objecting mainly to changes to the already 
standardized ordered and unordered lists.

> Then having <nl> is pointless, because that makes <nl> no different 
> from <ul>.
Right now, <nl> _isn't_ much different from <ul>, except for the hint 
from the base element that's it's a list of links.  Even so, I don't 
think the navigation list element is "pointless," since it breaks a 
very common use of lists into a new category, and allows UAs to present 
them more appropriately.

> <nl>
>    <li href="#">
>        <dl>
>            <dt>Link 1</dt>
>            <dd>This is the first link.</dd>
>        </dl>
>    </li>
>    <li href="#">
>        <dl>
>            <dt>Link 2</dt>
>            <dd>This is the second link.</dd>
>        </dl>
>    </li>
> </nl>
Obviously, this set up is less than ideal.  However, I would argue that 
this is a very odd content model for a navigational menu.  Can you give 
an example of an actual situation where a menu would actually require a 
marked-up description for every link?  The current example is painfully 
redundant, and I would say that any more detailed description belongs 
at the top of the content of the linked page, not next to the link.  If 
your particular situation is really this complex, then you shouldn't be 
using the nl structure (at least, not as it currently stands).  There's 
no reason not to use a plain definition list if that's what's best 
suited to your content model.

Either way, what you're asking for is more structure for lists of 
links.  This is very clearly the domain of the <nl> element, and not of 
<ul> or <ol>.

--Maxwell Terpstra
Received on Saturday, 28 May 2005 08:17:00 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:10 UTC