Links · Anchor text

Linked image with no alt text

An image is used as a link but has empty alt text, so the link has no anchor text for readers or search engines to use.

How this page is built

The image below is the only thing inside a link to the link target page. Its alt attribute is empty, so the link has no text.

Why it matters

When an image is the only content of a link, its alt text becomes the anchor text. Search engines use it to understand the target, and screen readers read it as the name of the link.

With empty alt text the link has no name at all. Screen reader users hear only the word link or the address, and search engines lose the relevance signal.

How to check it

Crawl tools report image links with missing or empty alt text, sometimes in the images section and sometimes under links. Accessibility checkers flag links with no accessible name. View the source and check the alt on images that sit inside links.

How to fix it

Give the image alt text that describes where the link goes, not what the image looks like. For example, use the name of the page it links to.

If the link also contains text, the image can keep empty alt text, because the text already names the link.

Back to all tests