W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2002

RE: Creative (?) solution for redundant links

From: Jon Hanna <jon@spinsol.com>
Date: Mon, 11 Mar 2002 17:41:35 -0000
To: "WAI \(E-mail\)" <w3c-wai-ig@w3.org>
> > Don't like it I'm affraid. From a visually impared point of view I
> would
> > simply think that the page creator had forgotten to alt tag the image.
> There
> > is no way for me to know that the two links are actually the same. I
> would
> > just see the cursor change to a hand indicating a link but no hover
> text
> > which I rely on when using images as links.
> > <img src="image.gif" alt=""
> onclick="document.location='newpage.html';">
> > <a href="newpage.html">Link Text</a>
> This would not cause the cursor to change to a hand in any current
> browser/AT I know of, certainly future AT's would hopefully make
> available the fact an onclick existed on the image.

Somewhat better is:

.pseudoLink{cursor: pointer;}

<img src="image.gif" alt="" title="Link Text(or similar)" class="pseudoLink"
onclick="location='newpage.html';"><a href="newpage.html">Link Text</a>

You may wish to do something to deal with IE4 and IE5 using the non-standard
"hand" value for that cursor rather than the standard pointer (which
thankfully IE6 supports).

My suggestion isn't ideal, but would be an improvement on the above in
providing toolTip and hand-shaped cursor.
Received on Monday, 11 March 2002 12:38:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:36:07 UTC