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.



98.4% done

How close this website is to fixing this issue.

HTML Found on page Issues
<a href="/news/2021/march/running-foxes-introduce-exclusive-toss-coin.html">...</a> 2
<a href="/news/2021/march/fullhurst-community-college-become-a-new-official-partner-for-2021.html">...</a> 2
<a href="/news/2021/march/lccc-and-csa-launch-the-big-cricket-survey.html">...</a> 2
<a href="/news/2021/march/running-foxes-confirm-fourth-stand-sponsorship.html">...</a> 2
8 distinct issues were found in the sample of 125 web pages.
More results from Leicestershire County Cricket