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

To qualify for rich snippets, make sure there is no hidden text in your RDFa markup, as this could hinder the visibility of rich snippets.
0:33
🎥 Source video

Extracted from a Google Search Central video

⏱ 1:06 💬 EN 📅 11/10/2010 ✂ 2 statements
Watch on YouTube (0:33) →
Other statements from this video 1
  1. 0:33 Pourquoi les rich snippets RDFa mettent-ils un mois à s'afficher dans Google ?
📅
Official statement from (15 years ago)
TL;DR

Google claims that hidden text in RDFa markup can prevent rich snippets from displaying. This statement targets practices involving the stuffing of structured data that is invisible to the user. In practical terms, this means that any marked content must be visible on the page; otherwise, Google may ignore the entire structured markup and deprive you of rich results.

What you need to understand

Why is Google wary of hidden text in structured data?

The principle is straightforward: Google wants structured data to accurately reflect what the user actually sees on the page. If you add content solely to feed the RDFa markup without it being visible, you create a discrepancy between user experience and what Google reads.

This rule is part of the fight against old manipulations where some sites hid keywords or information using display:none or visibility:hidden to artificially inflate their chances of obtaining rich snippets. Google views this practice as deceptive, as it misleads the user who clicks on a rich result promising information that cannot be found.

What exactly is RDFa and why this specific mention?

RDFa (Resource Description Framework in Attributes) is a structured data format integrated directly into HTML via attributes like typeof, property, or resource. Unlike JSON-LD, which exists in a

SEO Expert opinion

Is this rule still applicable with the dominance of JSON-LD?

Let’s be honest: RDFa has become marginal in modern SEO practices. The majority of sites now use JSON-LD, which isolates structured data from the visible HTML and makes this issue less critical. However, the underlying principle remains valid regardless of the format.

Even in JSON-LD, you should not fabricate content that does not exist on the page. For example, adding a fictitious author, non-existent reviews, or prices that do not match what is actually displayed violates the same rules. Google cross-checks structured data with crawled content, and blatant inconsistencies trigger filters.

In what legitimate cases can content be partially hidden?

A classic case: accordions, tabs, or dropdown menus that hide content upon initial loading but make it accessible on click. Google has clarified that it crawls and indexes this content, and you can mark it without risk as long as it is truly accessible to the user without technical manipulation.

Another example: lazy loading of images with alt text. If your image appears after scrolling but the alt attribute is present in the initial HTML, this is not considered hidden text. Google understands modern performance constraints. The problem arises when you create markup for content that exists nowhere in the user experience, even potentially.

Are penalties for this reason still observed in the field?

[To be verified] Documented cases of specific penalties for hidden text in RDFa are rare in recent audits. Most rich snippet issues stem from syntax errors, missing fields, or not adhering to guidelines (fake reviews, inconsistent prices, incorrect dates).

That said, manual actions for spam structured data still exist in Search Console. They primarily target e-commerce sites that artificially inflate their product ratings or news sites that manipulate publication dates. Pure hidden text has become a rare scenario, which doesn’t mean Google has abandoned monitoring. The rule remains active, just less frequently violated.

Warning: If you migrate an old site that used RDFa with dubious CSS techniques, you must audit the markup. Residues of old practices may linger and block your rich snippets without you understanding why.

Practical impact and recommendations

How can I audit my site for problematic hidden text?

First step: crawl your site with Screaming Frog or Sitebulb by enabling JavaScript rendering. Compare the raw HTML with the rendered DOM, and identify discrepancies. Specifically look for elements with display:none, visibility:hidden, or position:absolute that contain RDFa attributes (typeof, property, resource).

Second check: run your key pages through Google's rich results testing tool. If any warnings appear regarding inaccessible content or discrepancies between markup and display, it's a red flag. Then cross-reference with the Search Console Enhancements section: validation errors often show up there with a delay of several weeks.

What should I do if I already have hidden content in my markup?

Be realistic: if the marked content has no value for the user, simply remove it from the markup. Don’t try to circumvent this by making it visible with font-size:1px or a color identical to the background; Google detects these manipulations.

If the content has legitimacy but is hidden for UX reasons (accordions, tabs), restructure the interface to make it accessible. Modern frameworks (React, Vue) handle show/hide states perfectly without compromising accessibility. Ensure that the content exists in the initial DOM, even if it is not visible by default.

Should I migrate from RDFa to JSON-LD to avoid these issues?

If you are still heavily using RDFa, migrating to JSON-LD is a great idea in the medium term. JSON-LD is cleaner, easier to maintain, and eliminates the temptations of mixing markup and CSS concealment. However, it’s not an absolute emergency if your current RDFa is clean.

Priority: first audit the compliance of your existing markup. If everything is visible and consistent, RDFa still works perfectly. Migration becomes relevant when you are redesigning the site, adding new types of structured data, or noticing maintenance issues. In any case, test in pre-production before deploying widely.

  • Crawl the site and identify any RDFa elements associated with hidden CSS content (display:none, visibility:hidden).
  • Check the consistency between declared structured data and content actually displayed to the user.
  • Test each type of rich snippet (products, recipes, events, reviews) with the dedicated Google tool.
  • Monitor Search Console to detect validation errors or manual actions related to structured data.
  • Gradually migrate to JSON-LD if the site is still heavily using RDFa, testing page by page.
  • Train development teams on Google’s rules for structured data to avoid future regressions.
Optimizing structured data and complying with Google's requirements requires sharp technical expertise and constant monitoring. Markup errors can go unnoticed for months before triggering a sudden loss of visibility. If your team lacks resources or experience in these matters, partnering with a specialized SEO agency helps secure your rich snippets and fully exploit the potential of rich results without risking penalties.

❓ Frequently Asked Questions

Le texte dans un accordéon fermé au chargement est-il considéré comme caché par Google ?
Non, tant que l'accordéon est accessible au clic et que le contenu existe dans le DOM. Google crawle et indexe le contenu des accordéons, onglets et menus déroulants s'ils sont techniquement accessibles à l'utilisateur.
JSON-LD élimine-t-il complètement le risque de texte caché problématique ?
JSON-LD réduit fortement le risque en séparant les données structurées du HTML visible, mais vous devez quand même respecter la cohérence entre les données déclarées et le contenu affiché. Inventer du contenu reste sanctionnable même en JSON-LD.
Comment Google croise-t-il les données structurées avec le contenu visible ?
Google analyse le DOM rendu après JavaScript et compare les champs balisés avec le texte réellement affiché. Les divergences flagrantes (prix différent, auteur inexistant, avis absent) déclenchent des filtres de validation.
Un site peut-il perdre tous ses rich snippets à cause d'une seule page mal balisée ?
Généralement non. Les erreurs de balisage sont traitées page par page. Une action manuelle pour spam de données structurées peut toucher tout le site si la manipulation est systématique, mais c'est rare.
Faut-il supprimer complètement RDFa pour privilégier JSON-LD ?
Pas nécessairement. RDFa fonctionne toujours si correctement implémenté. Migrer vers JSON-LD est pertinent lors d'une refonte ou si vous constatez des difficultés de maintenance, mais ce n'est pas une urgence absolue si votre markup actuel est propre.

🎥 From the same video 1

Other SEO insights extracted from this same Google Search Central video · duration 1 min · published on 11/10/2010

🎥 Watch the full video on YouTube →

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