WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: alt text on img sources, and best software to inspect html code with a screen reader

for

From: Jared Smith
Date: Oct 31, 2011 9:09AM


On Mon, Oct 31, 2011 at 8:59 AM, Birkir R. Gunnarsson
< <EMAIL REMOVED> > wrote:

> What would be the correct way to code this link to hide it from screen
> readers altogether?

You can't. JAWS will always identify links. Sighted users can see
something and click on it, so JAWS properly identifies this function.
If there's no alternative text to be read, it will, as you note, read
the image file name - in this case "e2c1488c83.jpg", which is worse
than useless.

This link doesn't really provide much utility - it links to the image
itself. The link could probably be removed. If it remains, the image
must be given alternative text that describes the content and function
of the link, probably "larger image of {image content}" or similar.

Jared