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.



99.2% done

How close this website is to fixing this issue.

HTML Found on page Issues
<a href="https://covid19.glos.nhs.uk/" target="_blank" rel="noopener" role="link" aria-label="This link opens in a new window.">...</a> 1
1 distinct issue was found in the sample of 125 web pages.
More results from NHS Gloucestershire CCG