Official statement
Other statements from this video 9 ▾
- 17:53 Faut-il encore créer des versions mobiles dédiées pour certains sites spécialisés ?
- 17:57 Pourquoi Google insiste-t-il sur les layouts liquides pour le mobile ?
- 21:53 Faut-il moderniser un vieux site web sans toucher au design global ?
- 22:59 Pourquoi box-sizing: border-box change-t-il vraiment quelque chose pour le SEO ?
- 25:23 Comment gérer les requêtes média pour un design adaptatif sans plomber votre SEO ?
- 41:29 Pourquoi Google impose-t-il des zones cliquables de 50 pixels sur mobile ?
- 43:52 La vitesse de chargement impacte-t-elle vraiment le classement Google ?
- 45:26 Faut-il compresser davantage les grandes images en responsive pour améliorer la performance SEO ?
- 46:28 Faut-il vraiment abandonner son site mobile séparé au profit du responsive ?
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.
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
❓ Frequently Asked Questions
Le texte dans un SVG est-il complètement ignoré par Google ?
Peut-on utiliser des canvas HTML5 pour afficher du contenu dynamique sans impact SEO ?
Les attributs alt sur les SVG suffisent-ils pour l'indexation ?
Est-ce que remplacer tous mes SVG par du HTML va améliorer mon SEO ?
Comment savoir si mon site utilise du texte caché problématique dans des SVG ou canvas ?
🎥 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 →
💬 Comments (0)
Be the first to comment.