What does this mean?

An <img> element inside a link must not specify alternative text that duplicates the content of a text link inside or beside it.

For example, this code should be avoided:

<a href="/apple">
    <img src="apple.png" alt="Apple">
    Apple
</a>

Accessible technologies will tend to see this as "Apple Apple". The correct behaviour is to specify either a null (empty) alt attribute:

<a href="/apple">
    <img src="apple.png" alt="">
    Apple
</a>

or to hide the image via aria-hidden:

<a href="/apple">
    <img src="apple.png" aria-hidden="true">
    Apple
</a>

Learn more

Read about Technique H2 on how to combine an adjacent image and texts links.

See the WAI Tutorial on decorative images.



85.2% done

How close this website is to fixing this issue.

HTML Found on page Issues
<a class="blogImageLink" href="/media/News/Bill_Retires.jpg">...</a> 1
<a class="blogImageLink" href="/media/News/mabel_luke_new_homes_construction blog.jpg">...</a> 1
<a class="thumbnail" href="Javascript:void(0);" data-toggle="modal" data-target="#image-gallery" data-image="/media/Flat 1 Pictures/Ground Floor 2 bed Window View.jpg" data-caption="Ground Floor 2-bed" data-title="Ground Floor 2-bed" data-image-id="27">...</a> 1
<a class="blogImageLink" href="/media/News/AA_ award_certificate _blog.jpg">...</a> 1
4 distinct issues were found in the sample of 27 web pages.
More results from The Charity of Mrs Mabel Luke