WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Double links (image being a spearate link, then link to product)

for

From: Patrick H. Lauke
Date: Feb 4, 2013 10:44AM


On 03/02/2013 22:59, Birkir R. Gunnarsson wrote:
> I am wondering what to advise the website developers/designers in this regard.

I'd say it depends on how easy/difficult it would be to change whatever
backend CMS system is generating those pages. From a markup point of
view, the simplest solution would indeed be to just wrap both the image
and the text into a single link (and keep the empty ALT), possibly
wrapping the text in a span (or even a paragraph, as it's kosher, at
least in HTML5, to wrap even block-level elements in a link) just to
make sure the styling is equivalent. If, however, the system is so
inflexible that this isn't possible, things like tabindex etc may need
to be injected.

P
--
Patrick H. Lauke