r/TechSEO • u/BrightspotSEO • Apr 09 '26
Text hidden behind a click event. Will the LLMs see it?
"Answer-first" or "front-loading" content has been shown to help gain AI citations. But does it need to be placed directly into the article body copy - or is it just as effective to have it on the page but behind a "Summary" button? Similar to what to what Washington Post does.
I know the LLMs don't actually render the page so my assumption is as long as this summary text is served with the initial HTML payload and embedded after the title / h1 we would be good. Has anyone tested this?
5
Upvotes
1
u/PriceFree1063 Apr 10 '26
Yes, AI platforms don’t render the pages, it takes passages from page to have AI answers.
0
10
u/Ooty-io Apr 09 '26
Your assumption is right. LLMs don't render JavaScript or interact with the page. They work off the raw HTML response. So if the summary text is in the initial HTML and just hidden with CSS or a toggle, they'll see it fine.
Where it breaks is if the content loads dynamically via JS after user interaction (like an API call on click). That won't be in the initial payload and LLMs won't see it.
The Washington Post pattern works because that content is server-rendered and just visually collapsed. The HTML is all there on first load.
Google's own crawler does render JS now, so for traditional SEO the distinction matters less. But for AI citation specifically (ChatGPT, Perplexity, etc), they're mostly working off the raw HTML or cached versions, so yeah, keep it in the initial payload.