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

RE: Creative (?) solution for redundant links

From: Jukka Korpela <jukka.korpela@tieke.fi>
Date: Tue, 12 Mar 2002 08:51:33 +0200
Message-ID: <621574AE86FAD3118D1D0000E22138A9418554@TIEKE1>
To: "'WAI (E-mail)'" <w3c-wai-ig@w3.org>
Mike Scott wrote:

> What if we did something like this (HTML code follows):
> <img src="image.gif" alt="" 
> onclick="document.location='newpage.html';">
> <a href="newpage.html">Link Text</a>

An interesting idea. I'd still use the simpler approach of not making the
image a link at all, unless the image itself is an accessibility
enhancement, so that e.g. people with reading comprehension problems would
really like to use the image as a standalone navigation tool.

There's then the problem that nothing indicates the image as a link-like
thing, even when the cursor is moved over it. Maybe it would help to add a
title="..." attribute and/or add window.status='...' code into the
onclick="..." event handler, or even use the usual JavaScript techniques for
swapping the image on mouseover.

Jukka Korpela
TIEKE Tietoyhteiskunnan kehittämiskeskus ry
Finnish Information Society Development Centre 
Salomonkatu 17 A, 10th floor, FIN - 00100 HELSINKI, FINLAND
Phone: +358 9 4763 0397 Fax: +358 9 4763 0399 
http://www.tieke.fi  jukka.korpela@tieke.fi
Received on Tuesday, 12 March 2002 02:40:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:17 UTC