WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Does it valid if image link has null alt text?

for

From: Andrew Kirkpatrick
Date: Sep 7, 2010 6:32AM


Unless you have a reason that the text link and the image link need to be separate links, combine them and use null alt on the image:

<a href="registration.php"><img src="register.gif" alt="" />Register</a>

This will eliminate the redundancy of the same text for two links.

This technique speaks to this issue: http://www.w3.org/TR/WCAG-TECHS/H2.html

Thanks,
AWK

Andrew Kirkpatrick
Group Product Manager, Accessibility
Adobe Systems

<EMAIL REMOVED>
http://twitter.com/awkawk
http://blogs.adobe.com/accessibility