Re: Issue #1305

So use the anchor's title attribute to describe the link destination. Keep
the alt text as a replacement for the image.
This seems to follow the spec more closely.

Example:

<a href="home.html" title="go to home page"><img src="house.png"
alt="drawing of a house"/></a>

Is there a user agent problem with this?

Chris

----- Original Message ----- 
From: "Joe Clark" <joeclark@joeclark.org>
To: "WAI-GL" <w3c-wai-gl@w3.org>
Sent: Tuesday, December 14, 2004 1:21 PM
Subject: RE: Issue #1305


>
> > Test 15 - ALT text for images used as links must describe the link
> > destination
>
> No, it must not. Alt text replaces the image; <a> describes the
> destination, as with title="". Quit trying to rewrite the spec.
>
> <http://www.w3.org/TR/REC-html40/struct/objects.html#adef-alt>
>
> <http://www.w3.org/TR/REC-html40/struct/links.html#adef-href>,
> additionally, states that the href attribute "specifies the location of a
> Web resource, thus defining a link between the current element (the source
> anchor) and the destination anchor defined by this attribute."
>
> What defines the destination is <a>, not <img>. By spec. It's
> cut-and-dried; the Working Group's attempts are incorrect and must be
> removed.
>
> If I'm not mistaken, I got this wrong in my book. Let's not keep getting
> it wrong.
>
>
> -- 
>
>      Joe Clark | joeclark@joeclark.org
>      Accessibility <http://joeclark.org/access/>
>      Expect criticism if you top-post
>

Received on Tuesday, 14 December 2004 20:02:45 UTC