What does Google say about SEO? /
Quick SEO Quiz

Test your SEO knowledge in 5 questions

Less than a minute. Find out how much you really know about Google search.

🕒 ~1 min 🎯 5 questions

Official statement

It is not advisable to hide text in SVG files or canvas elements, as this makes them invisible to search engines and screen readers, consequently compromising site accessibility.
51:11
🎥 Source video

Extracted from a Google Search Central video

⏱ 1h04 💬 EN 📅 22/05/2015 ✂ 10 statements
Watch on YouTube (51:11) →
Other statements from this video 9
  1. 17:53 Faut-il encore créer des versions mobiles dédiées pour certains sites spécialisés ?
  2. 17:57 Pourquoi Google insiste-t-il sur les layouts liquides pour le mobile ?
  3. 21:53 Faut-il moderniser un vieux site web sans toucher au design global ?
  4. 22:59 Pourquoi box-sizing: border-box change-t-il vraiment quelque chose pour le SEO ?
  5. 25:23 Comment gérer les requêtes média pour un design adaptatif sans plomber votre SEO ?
  6. 41:29 Pourquoi Google impose-t-il des zones cliquables de 50 pixels sur mobile ?
  7. 43:52 La vitesse de chargement impacte-t-elle vraiment le classement Google ?
  8. 45:26 Faut-il compresser davantage les grandes images en responsive pour améliorer la performance SEO ?
  9. 46:28 Faut-il vraiment abandonner son site mobile séparé au profit du responsive ?
📅
Official statement from (11 years ago)
TL;DR

Google strongly advises against hiding textual content in SVG files or HTML5 canvas elements. These techniques render text inaccessible to crawlers and assistive technologies, harming both SEO and accessibility. For an SEO practitioner, the rule is simple: any text essential for ranking must remain in the accessible DOM, not buried in graphic containers.

What you need to understand

Why does Google warn against hidden text in SVGs?

SVG (Scalable Vector Graphics) files are vector image formats that can technically contain tagged text. Similarly, the HTML5 canvas element allows for dynamic graphics to be drawn via JavaScript, including textual characters.

The issue? Google treats these contents as graphic objects, not as standard indexable text. Even if the source code contains <text> tags in an SVG, the search engine does not give them the same value as text present in the standard HTML DOM.

What does this mean for indexing?

A crawler that encounters an SVG or a canvas may not necessarily extract and index the text it contains. The screen readers used by visually impaired individuals face the same obstacle: the content becomes invisible to them.

Thus, hiding text in these formats sends a contradictory signal to Google: you claim to display information visually, yet you make it technically inaccessible. This is exactly the type of manipulation that algorithms seek to detect.

Do all SVGs pose a problem?

No. An SVG used to display a logo, icon, or decorative graphic poses no issues. Problems arise when strategic textual content is incorporated: headings, body paragraphs, or bullet lists containing keywords.

Some developers have attempted to stuff SVGs with invisible keywords to artificially inflate the semantic density of a page. This is precisely the scenario Mueller targets with his warning.

  • SVGs and canvas are treated as graphic objects, not as standard indexable text
  • Hidden text in these formats is inaccessible to crawlers and screen readers
  • Using these techniques for strategic content harms both SEO and accessibility
  • Decorative or iconographic SVGs remain completely legitimate
  • Any attempt at keyword stuffing via SVG may be detected as manipulation

SEO Expert opinion

Is this recommendation consistent with real-world observations?

Yes, and it aligns with an overarching trend. Google increasingly prioritizes accessibility as a quality signal. Sites that adhere to WCAG (Web Content Accessibility Guidelines) standards often achieve better outcomes, even if Google doesn’t state this directly.

I have observed several cases where pages that heavily used SVG text for aesthetic reasons experienced a drop in organic traffic performance following algorithm updates. The content technically existed, but Google did not value it. Replacing those SVGs with CSS-styled HTML systematically resolved the issue.

What nuances need to be added to this statement?

Mueller discusses “hiding” text, which suggests a manipulative intent. If you use an SVG for legitimate reasons — complex infographics, technical diagrams — and provide a textual alternative through an alt attribute or adjacent HTML description, you are within the rules.

The real danger concerns pure concealment attempts: white text on a white background in an SVG, canvas filled with invisible keywords positioned outside the viewport. These techniques date back to the 2000s and remain detectable. [To be verified]: Google claims to treat SVG text differently, but never specifies what exact weighting this entails or whether all types of SVGs are treated the same.

In what cases does this rule not apply strictly?

If your SVG content is purely decorative or illustrative and important text is presented in standard HTML on the same page, you have nothing to worry about. An SVG logo with vector text? No problem.

However, if you build entire landing pages in canvas (some JavaScript frameworks do this), you are shooting yourself in the foot. The content becomes a black hole for crawlers. The same goes for sites that generate dynamic graphics in canvas without providing HTML transcription: Google cannot guess what is contained in the image.

Caution: some modern site builders (especially certain no-code tools) export content as SVG or canvas for visual performance reasons. Always ensure that critical text remains indexable in HTML.

Practical impact and recommendations

What concrete steps should you take to avoid this trap?

First step: audit your pages to identify where you use SVGs or canvases containing text. A simple "Inspect Element" in Chrome can help pinpoint these areas. If you see <svg> or <canvas> tags containing strategic text, action is needed.

Next, you have two options. Either you replace those elements with CSS-styled HTML (often the best solution for SEO). Or, you keep the SVG/canvas for technical reasons but add an accessible text version via an adjacent <div> tag or a relevant aria-label attribute.

What mistakes should be avoided at all costs?

Do not fall into the trap of over-optimization. Some SEOs, upon discovering that SVG text is problematic, start replacing all their graphics with HTML. The result: heavy, slow pages that visually degrade.

The other classic mistake: adding hidden text in aria-label or alt text that does not match the actual visual content. Google detects these inconsistencies. If your SVG displays a logo, the alt must describe the logo, not contain a list of unrelated keywords.

How can I verify that my site is compliant?

Use a screen reader like NVDA or JAWS to navigate your key pages. If the important textual content is not vocalized, it is likely that Google does not see it either. Supplement this with a Lighthouse test in Chrome DevTools: it flags accessibility issues.

On the indexing side, check in Search Console that your strategic pages are being properly crawled and indexed with their complete content. Any disparity between what you see in the browser and what Google reports in the page preview should raise concern.

  • Audit all pages containing SVGs or canvases with strategic text
  • Replace with HTML/CSS when possible, or add an accessible textual alternative
  • Test with a screen reader (NVDA, JAWS) to validate accessibility
  • Verify actual indexing in Google Search Console
  • Never use manipulative hidden text (white on white, out of viewport)
  • Document technical choices to facilitate future maintenance
Technical optimizations related to accessibility and indexing can quickly become complex, especially on sites with a lot of graphical content or advanced JavaScript stacks. If you identify structural issues on your site or want to ensure compliance with best practices without risking penalties, consulting a specialized SEO agency can help you avoid costly mistakes and expedite compliance.

❓ Frequently Asked Questions

Le texte dans un SVG est-il complètement ignoré par Google ?
Google peut techniquement le lire, mais il ne lui accorde pas la même valeur qu'au texte HTML standard. Il est traité comme un élément graphique, pas comme du contenu textuel prioritaire pour le classement.
Peut-on utiliser des canvas HTML5 pour afficher du contenu dynamique sans impact SEO ?
Oui, si ce contenu est purement visuel (graphiques, animations). En revanche, si le canvas contient du texte stratégique, il faut impérativement fournir une version HTML accessible en parallèle.
Les attributs alt sur les SVG suffisent-ils pour l'indexation ?
Les attributs alt aident pour l'accessibilité, mais ils ne remplacent pas du contenu HTML structuré. Si le texte est crucial pour votre positionnement, il doit figurer dans le DOM, pas seulement dans un attribut alternatif.
Est-ce que remplacer tous mes SVG par du HTML va améliorer mon SEO ?
Pas forcément. Si vos SVG sont décoratifs ou iconographiques, ils ne posent pas de problème. Ne remplacez que ceux qui contiennent du texte stratégique non accessible ailleurs sur la page.
Comment savoir si mon site utilise du texte caché problématique dans des SVG ou canvas ?
Inspectez le code source de vos pages clés, testez avec un lecteur d'écran (NVDA, JAWS) et comparez l'aperçu Google dans la Search Console avec ce que vous voyez dans le navigateur. Tout écart est un signal d'alerte.
🏷 Related Topics
Content AI & SEO PDF & Files Web Performance

🎥 From the same video 9

Other SEO insights extracted from this same Google Search Central video · duration 1h04 · published on 22/05/2015

🎥 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.