data-nosnippet wrapping primary content
data-nosnippet is a useful surgical tool, but I sometimes find it wrapped around the main answer instead of a small caveat. That hides exactly the text I want Google to quote.
The data-nosnippet attribute marks elements as excluded from snippets.
Why it matters
If it wraps primary content, that content cannot be shown in snippets or used as a direct input to AI features.
How to fix it
Remove data-nosnippet from primary content; reserve it for genuinely private spans.
How to find it on your site
- Search the rendered HTML for the data-nosnippet attribute.
- Check what content sits inside those wrappers.
- Confirm the primary answer is not inside a data-nosnippet element.
- Move the attribute onto only the small fragments you truly want excluded.
Cross-reference to ranking and citation factors
If the answer text is excluded from snippets, the page is far less likely to be selected for snippets or AI grounding, even when it is the best answer.
Impact
High for AI citability of the wrapped content. Direct.
Evidence
data-nosnippet excludes wrapped content from snippets (and thus AI input). Google Search Central, Robots Meta Tags Specifications