[whatwg] image captions

Mihai Sucan mihai.sucan at gmail.com
Wed Jun 28 12:31:01 PDT 2006


Le Wed, 28 Jun 2006 21:31:38 +0300, Clayton Scott  
<clayton.scott at gmail.com> a écrit:

> No expanding of the <caption> element with a |for| attribute or nested
> inside any block element?
>
> <img id='photograph' src='...'>
> <caption for='photograph'>Photo of Foo herders courtesy of  
> Jimmy</caption>
>
> <caption for='myFavList'>My List of Favourite Things</caption>
> <ol id='myFavList'>
>   <li></li>
> </ol>
>
> <ol id='myFavList'>
>   <caption>My List of Favourite Things</caption>
>   <li></li>
> </ol>
>
>
>
> Clayton

Now that's a good idea too.

If the image caption "problem" is going to be solved it should be done  
based on your suggestion (extending the caption element with a |for|  
attribute), or by adding the |caption| attribute to the <img> element.  
Both provide same functionality, both are backwards compatible.

IMHO, very good!


-- 
http://www.robodesign.ro
ROBO Design - We bring you the future



More information about the whatwg mailing list