H1 Contains Image Only (No Text)
What This Means
The <h1> element contains one or more <img> elements but no visible text nodes. The only text associated with the heading is in the image's alt attribute, which is not treated the same way as actual heading text by search engines.
Why It Matters for SEO
Search engines weight H1 text content heavily as a topical relevance signal. Alt text on an image inside an H1 is not parsed with the same weight — it is treated as accessibility metadata for the image, not as the primary heading text. A page whose H1 contains only an image is, from a search engine's perspective, effectively missing a text H1.
This issue most often arises from logo headings on homepages (wrapping the site logo in an H1), or from image-based decorative headers that have been marked up as H1 without a text equivalent.
What the Platform Checks
The platform inspects the child nodes of every <h1> element. Fires when the H1 contains at least one <img> element and zero visible text nodes (empty or whitespace-only text nodes do not count as visible text).
How to Fix It
Add visible text to the H1, or use a text-based heading and style it without using an image as the heading content:
- For logo headings: replace the
<h1><img src="logo.png" alt="Brand Name"></h1>pattern with<h1>Brand Name</h1>styled to match the logo, OR move the logo image outside the H1 and use a separate text H1. - For decorative image headings: use CSS background images or an
<img>alongside a text<h1>, not inside it. - If the image conveys text visually, add the equivalent text inside the H1 alongside the image (can be visually hidden with accessible CSS if needed).
After fixing, the H1 should contain readable text that accurately describes the page's primary topic.
Find every image-only H1across your site
The audit flags every H1 that lacks text content — fix the template and the ranking signal is restored across all affected pages.