[uf-discuss] Re: Minimisation of figure

Toby A Inkster mail at tobyinkster.co.uk
Sat Mar 22 06:52:28 PST 2008


Tim's suggestion seems like a good compromise, so for the time being  
at least, I've added it to the draft.

For the record, I'd like to note the following edge case:

<div class="figure">
   <img class="image" src="figure.png" alt="Widget sales have  
plummetted!" />
   <img class="legend" src="caption-in-fancy-font.png" title="Caption"
   alt="Widget sales for 2007 Q4." />
</div>

Minimisation rule #2 does not apply, as the legend and image classes  
are found on different elements. The legend is "Widget sales for 2007  
Q4".

Similarly:

<div class="figure">
   <img class="image" src="figure.png" alt="Widget sales have  
plummetted!" />
   <em  class="legend"><img src="caption-in-fancy-font.png"  
title="Caption"
   alt="Widget sales for 2007 Q4." /></em>
</div>

Same interpretation. I can't imagine that many people would do  
captions this way though.

-- 
Toby A Inkster
<mailto:mail at tobyinkster.co.uk>
<http://tobyinkster.co.uk>





More information about the microformats-discuss mailing list