What does Google say about SEO? /
Quick SEO Quiz

Test your SEO knowledge in 3 questions

Less than 30 seconds. Find out how much you really know about Google search.

🕒 ~30s 🎯 3 questions 📚 SEO Google

Official statement

Images must use semantic tags with relevant and descriptive alt text. Googlebot cannot index CSS images (background-image). An empty or meaningless alt text harms user experience and indexing.
5:18
🎥 Source video

Extracted from a Google Search Central video

⏱ 6:53 💬 EN 📅 06/08/2020 ✂ 7 statements
Watch on YouTube (5:18) →
Other statements from this video 6
  1. 0:32 Le mobile-first indexing indexe-t-il vraiment QUE la version mobile de votre site ?
  2. 2:07 Robots.txt et balises noindex bloquent-ils vraiment l'indexation mobile sur Google ?
  3. 3:44 Faut-il vraiment afficher exactement le même contenu sur mobile et desktop pour bien ranker ?
  4. 4:46 Les divs stylisées en titres peuvent-elles vraiment nuire au référencement mobile ?
  5. 5:51 Faut-il vraiment remonter vos vidéos en haut de page pour ranker sur mobile ?
  6. 6:22 Faut-il vraiment dupliquer les données structurées et méta-descriptions entre desktop et mobile ?
📅
Official statement from (5 years ago)
TL;DR

Google states that CSS images (background-image) cannot be indexed, unlike semantic <img> tags with descriptive alt text. For SEO, this means that a visual content strategy based solely on CSS dooms that content to invisibility in Google Images and overall indexing. Alt text remains a non-negotiable criterion, and its absence or poor quality penalizes both user experience and SEO.

What you need to understand

Why can't Google index CSS images?

The statement by Martin Splitt reminds us of a fundamental technical principle: Googlebot processes semantic HTML, not style sheets. An image integrated via background-image in CSS is merely a visual directive for the browser — it does not exist in the DOM as a <img> element.

In practical terms, the bot does not read image URLs buried within CSS declarations. It has no semantic context to understand what this image represents, nor any alternative text to extract meaning. Result: the image appears neither in Google Images nor in rich results, and its visual content does not contribute at all to the page's relevance score.

Does empty or insignificant alt text really harm indexing?

Google does not say that the absence of alt “blocks” page indexing, but that it degrades the perceived quality of the content. An empty alt (alt="") signals to the bot that the image is purely decorative — acceptable for dividers or graphic patterns, but disastrous for an information-bearing image.

A generic alt like

SEO Expert opinion

Is this rule really new or just a reminder?

Let's be honest: Google has been repeating this principle since at least 2010. What changes is the context of mobile-first indexing and the rise of Google Lens. Today, a well-indexed image can generate qualified traffic through Google Images and visual search — ignoring this channel means leaving market share on the table.

The issue is that many e-commerce sites and lifestyle blogs continue to use CSS extensively for product visuals or hero banners. Why? Because it’s easier to integrate into certain CMS or JS frameworks. But this technical ease comes at the cost of organic visibility.

When is an empty alt acceptable?

Google tolerates — even recommends — an empty alt (alt="") for purely decorative images: icons, separators, background textures. This prevents polluting the experience of screen readers with unnecessary noise.

But beware: if the image provides context or information (even minimal), an empty alt is a mistake. Classic example: a clickable logo without alt. To a human, it is obvious that it’s a link to the homepage. To Googlebot, it's a link without context — signaling weak UX quality. [To be verified] on visually intensive sites: does Google really penalize massive empty alts, or does it merely ignore them? Field observations suggest that the impact is cumulative, not binary.

Do lazy-loading tools really respect these constraints?

Most WordPress plugins or JS libraries (Intersection Observer, etc.) implement attributes loading="lazy" and src correctly. But some old scripts replace src with data-src without fallback — and that’s when Googlebot may miss the image if JS doesn’t execute correctly.

Since Google improved its JS rendering engine (WRS based on Chromium), the risk is lower, but not zero. If you use a CDN with dynamic image transformations (Cloudinary, Imgix), ensure that final URLs are crawlable. A test via Google Search Console (URL inspection + mobile rendering) is essential.

Attention: Modern JS frameworks (React, Vue, Next.js) sometimes generate <img> with missing attributes during the initial crawl. Make sure your SSR (Server-Side Rendering) or SSG (Static Site Generation) correctly injects all attributes right from the raw HTML.

Practical impact and recommendations

What should you prioritize auditing on an existing site?

Run a Screaming Frog or Oncrawl crawl with filters for images without alt attributes or with empty alts. Identify those that carry information (products, infographics, screenshots) versus purely decorative. For the former, write descriptive alts — not just the file name or "image123.jpg".

Next, spot CSS images through a code audit. Look for background-image declarations in your stylesheets and identify those that should be in <img>. Typically: hero banners with CTA, grid product visuals, team photos on an About page. If these images have SEO value, migrate them to semantic HTML.

How to write good alt text in 2025?

An effective alt describes precisely what the image shows, naturally integrating the target keyword if relevant. Weak example: "running shoes". Strong example: "Nike Pegasus 40 road marathon running shoes". Context matters: if the page discusses trails, the second example is off-topic.

Avoid keyword stuffing — Google detects alts stuffed with keywords without coherence. Limit yourself to about 125 characters (some screen readers truncate beyond). And if the image contains text (infographic, slide), transcribe this text in the alt or in an adjacent caption — otherwise, this content is invisible to the bot.

Should structured data be added for every image?

Not systematically, but for high-value content (recipes, products, blog posts with key visuals), ImageObject structured data strengthens eligibility for rich results. This includes properties like contentUrl, caption, license, creditText.

On an e-commerce site, integrate images into the Product schema with image as an array if you have multiple product views. For a blog, use Article with image pointing to the main visual. These signals help Google display quality thumbnails in SERPs and prioritize your images in Google Images.

  • Audit all images for detecting missing, empty, or generic alts (Screaming Frog, Oncrawl).
  • Migrate critical CSS images (hero banners, product visuals) to semantic <img> tags.
  • Write descriptive alts of 80-125 characters, integrating the target keyword if natural.
  • Check lazy-loading: ensure that src or data-src is crawlable and that loading="lazy" is supported.
  • Test mobile rendering via Google Search Console (URL inspection) to confirm that all images are visible to the bot.
  • Add ImageObject structured data for high-value content (products, recipes, flagship articles).
Optimizing images for mobile-first indexing relies on three pillars: semantic HTML, quality alt text, and targeted structured data. These adjustments may seem simple in theory, but their implementation at scale — especially on complex CMS or high-volume e-commerce sites — requires acute technical expertise. If your site features thousands of visuals or custom templates, it might be wise to engage a specialized SEO agency to systematically audit, prioritize and deploy these optimizations without breaking the existing setup.

❓ Frequently Asked Questions

Les images en WebP ou AVIF sont-elles mieux indexées par Google ?
Google indexe tous les formats modernes (WebP, AVIF, JPEG, PNG) sans préférence déclarée. L'important est la qualité du texte alt et la structure sémantique, pas le format de fichier.
Un alt trop long peut-il pénaliser le référencement ?
Google ne pénalise pas directement un alt long, mais les lecteurs d'écran tronquent souvent au-delà de 125 caractères. Vise la concision pour une meilleure accessibilité.
Les images lazy-loadées via Intersection Observer sont-elles toujours crawlables ?
Oui, tant que l'attribut src est présent dans le HTML initial ou injecté rapidement par le JS. Google exécute le JavaScript, mais un délai trop long peut limiter l'indexation.
Faut-il un alt différent pour chaque image en galerie produit ?
Absolument. Chaque angle ou vue produit doit avoir un alt spécifique ("vue de face", "vue de profil", "détail semelle") pour maximiser la couverture dans Google Images.
Les images SVG en ligne dans le HTML sont-elles indexables ?
Google peut indexer les SVG inline si elles contiennent des balises <title> ou <desc>, mais la pratique recommandée reste d'utiliser <img> avec alt pour les contenus critiques.
🏷 Related Topics
Domain Age & History Content Crawl & Indexing Images & Videos Mobile SEO

🎥 From the same video 6

Other SEO insights extracted from this same Google Search Central video · duration 6 min · published on 06/08/2020

🎥 Watch the full video on YouTube →

Related statements

💬 Comments (0)

Be the first to comment.

2000 characters remaining
🔔

Get real-time analysis of the latest Google SEO declarations

Be the first to know every time a new official Google statement drops — with full expert analysis.

No spam. Unsubscribe in one click.