Skip to Content

Alt text on a linked image describes the action

Accessibility

Alt text must always appear on an image which is being used as a link.

Reason

Although not every image needs to have alt text, if the image is being to link to something, it must have alt text which describes the effect of clicking on the link. This is so a user with a screen reader doesn’t have a “wasted journey”.

Best practice

Discover more information about the Library.

This image is a link to the MacOdrum Library. This means that the image must have alt text to outline what will happen if the user clicks on the image. In this instance it reads:

Discover more information about the MacOdrum Library.

Example of less accessible practices

This image has no alt text. (Worse still: it conveys the message in text on the image.)

This means the user with a screen reader does not know what the link will do, and that entire URL will be read out to them.

Additional benefits

What WCAG says

(Be sure to learn more about errors and alerts.)

Learn more about WCAG says about this issue