[html5] Figure tag on avatar

Ian Hickson ian at hixie.ch
Fri Sep 4 14:55:45 PDT 2009


On Wed, 2 Sep 2009, Rodrigo Soares wrote:
>
> Is it semantically correct to wrap a FIGURE tag around an avatar?
> 
> <ul class="commentList">
> <li>
> <figure>
> <img src="joel.jpg" alt="Joel Rocks" />
> <legend>Joel</legend>
> </figure>
> <p>But I must explain to you how all this mistaken idea of denouncing
> pleasure and praising pain was born and I will give you a complete account
> of the system</p>
> </li>
> <li>
> <figure>
> <img src="rodrigo.jpg" alt="Rodrigo Soares" />
> <legend>Rodrigo</legend>
> </figure>
> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
> tempor incididunt ut labore et dolore magna aliqua.</p>
> </li>
> 
> </ul><!-- /.commentList -->

That's fine. The alt="" value should be the empty string, though, since it 
is redundant with the legend (otherwise you'll get the name twice).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the Help mailing list