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

RE: Creative (?) solution for redundant links

From: Mike Scott <mscott2@msfw.com>
Date: Mon, 11 Mar 2002 11:39:57 -0600
To: "'SHARPE, Ian'" <Ian.SHARPE@cambridge.sema.slb.com>, "'WAI \(E-mail\)'" <w3c-wai-ig@w3.org>
Message-ID: <000101c1c923$c5c75d60$0b00000a@mikes>
Ian,

Just to clarify - the image is not part of the link, so there really is
only one link - so if your screen reader ignores images with alt = ""
(null), you wouldn't hear anything to indicate that the image is there.
Also, as is, the cursor wouldn't change into a hand (since the image
isn't really a link), although we could get it to do so using CSS
cursor: pointer...

Still no good?

Mike

-----Original Message-----
From: w3c-wai-ig-request@w3.org [mailto:w3c-wai-ig-request@w3.org] On
Behalf Of SHARPE, Ian
Sent: Monday, March 11, 2002 11:10 AM
To: WAI (E-mail)
Subject: RE: Creative (?) solution for redundant links

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. 

Cheers
Ian



-----Original Message-----
From: David Poehlman [mailto:poehlman1@comcast.net]
Sent: 11 March 2002 16:53
To: Mike Scott; 'WAI (E-mail)'
Subject: Re: Creative (?) solution for redundant links


Jaws has a bug that forces the file name of the image to be rendered
even though it is alt="" but it is not rendered as a link therefore the
strategy might be effective.

----- Original Message -----
From: "Mike Scott" <mscott2@msfw.com>
To: "'WAI (E-mail)'" <w3c-wai-ig@w3.org>
Sent: Monday, March 11, 2002 10:16 AM
Subject: Creative (?) solution for redundant links


We've talked a few times about the problems of the common "image
followed by text" link situation -- in particular, that we may want to
allow sighted users to click on either the image or text, but we'd
rather avoid making screen reader users hear the same link text repeated
twice (the image's alt text followed by the text link).

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>

(i.e., use a javascript "onclick" on the image to load the new page if
the image is clicked.)

The image alt wouldn't show up in a screen reader's links list, and with
alt = null, it wouldn't be read; at the same time, if a sighted user
(whose browser supported javascript) clicked on the image, it would act
as if it were a link. Without javascript, clicking the image would
simply do nothing, but the text link would still work.

Of course, this scenario would only apply if the image and the text link
were exactly redundant, and when the layout of the page was preventing
us from simply putting a single link element around both.

Thoughts???

Mike





________________________________________________________________________
___
This email is confidential and intended solely for the use of the 
individual to whom it is addressed. Any views or opinions presented are 
solely those of the author and do not necessarily represent those of 
SchlumbergerSema. 
If you are not the intended recipient, be advised that you have received
this email in error and that any use, dissemination, forwarding,
printing, or 
copying of this email is strictly prohibited.

If you have received this email in error please notify the
SchlumbergerSema Helpdesk by telephone on +44 (0) 121 627 5600.
________________________________________________________________________
___
Received on Monday, 11 March 2002 12:40:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:01 GMT