W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2007

[whatwg] List captions

From: Magnus Kristiansen <magnusrk+whatwg@pvv.org>
Date: Fri, 06 Apr 2007 14:47:27 +0200
Message-ID: <op.tqc4hdnd6iodd8@tzeentch.studby.ntnu.no>
On Fri, 06 Apr 2007 14:31:58 +0200, Andy Mabbett  
<andy at pigsonthewing.org.uk> wrote:

>
> How often do we see something like:
>
>         <p>Animals:</p>
>         <ul>
>           <li>Cat</li>
>           <li>Dog</li>
>           <li>Horse</li>
>           <li>Cow</li>
>         </ul>
>
> This would be more meaningful as:
>
>         <ul caption="Animals">
>           <li>Cat</li>
>           <li>Dog</li>
>           <li>Horse</li>
>           <li>Cow</li>
>         </ul>
>
> There could also be a summary attribute, as with tables.
>
> Any interest?

We should do our best to avoid repeats of alt, title, and friends. A list  
header would go much better as a separate element, like <caption> is for  
tables. The resurrection of <lh> was proposed a few days ago on this very  
list, why not take a look at that thread?

-- 
Magnus Kristiansen
"Don't worry; the Universe IS out to get you."
Received on Friday, 6 April 2007 05:47:27 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:54 UTC