[uf-new] figure microformat

Martin McEvoy info at weborganics.co.uk
Sat Feb 23 12:52:06 PST 2008


On Sat, 2008-02-23 at 17:26 +0000, Toby A Inkster wrote:
> Sent this a couple of days ago, but was rejected from the list  
> because of a problem with my subscription. Here we go again...
> 
> I spent a couple of hours today summarising some of the suggestions  
> people have made on the figure-examples page and condensing it down  
> into a draft microformat:
> 
> http://microformats.org/wiki/figure
> 
> What do people think? Is it ready to go onto the drafts list or do  
> you think it needs a little extra work?

It needs a little more work :)

although this looks interesting I am unsure about what are you trying to
do?

Are you trying to reproduce the figure tag in html 5?

or are you trying to mark up images with captions? 

Are you trying to do both?

The lack of context on the alt attribute may need rethinking as it will
cause accessibility issues, and what If I have images turned off? unless
you are trying to make a screen readers and old browsers ignore your
image? if so why?

this is ok but maybe you should try to re-use other ufs a bit:
http://microformats.org/wiki/figure#Example

<div class="figure">
  <img class="image" src="photo.jpeg" alt="">
  <p class="legend">
    <a rel="tag" href="http://en.wikipedia.org/wiki/Photography">Photo</a>
    of <span class="subject">Albert Einstein</span> by
    <span class="vcard credit">
      <span class="fn">Paul Ehrenfest</span>
      (<span class="role">photographer</span>)
    </span>
  </p>
</div>

could be changed to:

<div class="figure">
  <img class="photo" src="photo.jpeg" alt="Albert Einstein"/>
    <a rel="tag" href="http://en.wikipedia.org/wiki/Photography">Photo</a>
    of <cite>Albert Einstein</cite> by
    <span class="contributor vcard">
       <span class="fn">Paul Ehrenfest</span>
       (<span class="role">photographer</span>)
    </span>
</div>

photo from hcard to replace image
http://microformats.org/wiki/hcard#Property_List

cite is just posh ;) this would replace Subject by citing the object?
http://www.w3.org/TR/REC-html40/struct/text.html#edef-CITE

contributor from haudio, the photographer is someone who takes part in
the production of the image?
http://microformats.org/wiki/haudio#Contributor

I don't think legend is necessary as it seems to be acting as a
container uF? but until I can understand a little more about what you
are proposing I wont know.



Thanks
Martin McEvoy
> 



More information about the microformats-new mailing list