[uf-new] hAudio implemented on Bitmunk (with one snag)

Mike Kaply microformats at kaply.com
Mon Jul 9 05:37:49 PDT 2007


Actually the alt attribute WON'T fix this problem. Because the
microformat attribute is on the anchor tag, not the image.
Microformats grab the text in the tag. They only grab the image alt
text if the microformat class is on the image itself. Here's a
different example:

<a class="fn url" href="http://www.yahoo.com"><img src="foo.jpg"
alt="Mike Kaply"></a>

I realize this is a little contrived, but you get the idea.

In this case, the fn is empty.

Mike Kaply

On 7/8/07, Andy Mabbett <andy at pigsonthewing.org.uk> wrote:
> In message <46914B85.4040903 at digitalbazaar.com>, Manu Sporny
> <msporny at digitalbazaar.com> writes
>
> >Problem Description:
> >
> >It is quite often that a site uses an image instead of a text link to
> >present actions. For example: Instead of using the text "Download",
> >they will use a graphic image with a downward-facing arrow.
> >
> >In other words, if we have this:
> >
> >Download:
> ><a href="http://my.site.com/download/3847293">
> > <img src="/images/cool_download_button.png"/>
> ></a>
> >
> >How do we present this option to a human being in a non-web-page UI?
>
> The HTML is invalid, lacking the alt attribute which should fix this
> problem.
>
> --
> Andy Mabbett
> _______________________________________________
> microformats-new mailing list
> microformats-new at microformats.org
> http://microformats.org/mailman/listinfo/microformats-new
>


More information about the microformats-new mailing list