[uf-discuss] entry-title on <img>

Sarven Capadisli csarven at gmail.com
Sun Apr 6 09:38:53 PDT 2008


On Fri, Apr 4, 2008 at 6:23 PM, Scott Reynen <scott at randomchaos.com> wrote:
>  It's documented here:
>
>  http://microformats.org/wiki/parsing
>
>  I just added a link to that from here:
>
>  http://microformats.org/wiki/hatom-parsing

Thank you.

> > In the case of <img> should entry-title be the @title value since it
> > is more accurate - also more visible - then the use of @alt? If @title
> > is absent, then perhaps @alt may be used?
> >
>
>  I don't think so.  @alt is alternative content ("this attribute specifies
> alternate text"), whereas @title is description of that content ("This
> attribute offers advisory information about the element for which it is
> set."), so @alt should be preferred for textual properties (e.g.
> entry-title).

@alt is meant for "alternative text" in cases where <img> can't be
experienced visually. It is otherwise invisible.
@title is meant to be visible alongside the <img>.

entry-title value should be visible.


Sarven Capadisli
http://www.csarven.ca


More information about the microformats-discuss mailing list