W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > October to December 2004

Re: Issue #1305

From: Chris Ridpath <chris.ridpath@utoronto.ca>
Date: Tue, 14 Dec 2004 15:02:24 -0500
Message-ID: <01e801c4e217$d428def0$e29a968e@WILDDOG>
To: "Joe Clark" <joeclark@joeclark.org>, "WAI-GL" <w3c-wai-gl@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:32 GMT