[whatwg] List captions

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