WebAIM - Web Accessibility In Mind

E-mail List Archives

Duplicate linkage

for

From: Steven Henderson
Date: Sep 1, 2009 8:35AM


I am keen to hear people's views on the following image linkage scenario:



"A HTML page lists numerous works or products by name linked to a
corresponding page. Each list item also needs an accompanying image to link
to the same page."



Why do so many websites still place an additional link underneath the
heading link for the image, linking to the same page as the heading link?
What justifies a duplicate link in such close succession? Is there really a
disadvantage to placing the image inside the h2 tag, thus sharing the same a
tag?



<h2><a href="http://www.website.com/products/blue.html">Best blue
product</a><a href="http://www.website.com/products/blue.html"><img
src="products/blue.jpg" alt="best blue product" /></a></h2>



Or



<h2><a href="http://www.website.com/blue.html">Best blue product <img
src="products/blue.jpg" alt="" /></a></h2>







Regards,



Steven