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.



96.8% done

How close this website is to fixing this issue.

HTML Found on page Issues
<a class="mtli_jpg" href="https://test.irtl.homeoffice.gov.uk/wp-content/uploads/2018/01/MHQC_sm.jpg" style="background-image: none;">...</a> 2
<a class="mtli_jpg" href="https://terrorismlegislationreviewer.independent.gov.uk/wp-content/uploads/2013/04/clive.jpg" style="background-image: none;">...</a> 1
<a class="mtli_jpg" href="https://terrorismlegislationreviewer.independent.gov.uk/wp-content/uploads/2013/04/Lloyd.jpg" style="background-image: none;">...</a> 1
<a class="mtli_jpg" href="https://terrorismlegislationreviewer.independent.gov.uk/wp-content/uploads/2013/04/Home-Office.jpg" style="background-image: none;">...</a> 1
<a class="mtli_jpg" href="https://terrorismlegislationreviewer.independent.gov.uk/wp-content/uploads/2013/04/Edward_Shackleton.jpg" style="background-image: none;">...</a> 1
<a class="mtli_jpg" href="https://terrorismlegislationreviewer.independent.gov.uk/wp-content/uploads/2016/01/press-photo-tie-serious-e1453828120738.jpg" style="background-image: none;">...</a> 1
<a class="mtli_jpg" href="https://terrorismlegislationreviewer.independent.gov.uk/wp-content/uploads/2013/04/Carlile.jpg" style="background-image: none;">...</a> 1
8 distinct issues were found in the sample of 125 web pages.
More results from Independent Reviewer of Terrorism Legislation