On-page · Headings

H1 made from image alt text

The H1 is an image, so the heading text comes only from its alt text, which is weaker and easier to lose than real text.

How this page is built

The H1 on this page contains an SVG image of the heading text and no real text. Its accessible name comes from the image's alt attribute.

Why it matters

Search engines and screen readers can read alt text, so an image heading is not invisible. It is still a weaker signal than real text, and it fails if the alt text is missing, changed or the image does not load.

Image text also cannot be resized, translated or restyled, which makes it harder to read for many people.

How to check it

View the source and look inside the H1 for an image. Crawl tools that extract headings show whether the H1 text comes from alt text. Turn off images in the browser to see what readers are left with.

How to fix it

Use real text for the H1 and style it with CSS. If the design needs a logo or decorative image, place it next to the heading rather than inside it, with empty alt text if it is purely decorative.

Back to all tests