JavaScript rendering · JavaScript content and links

Content only loaded on interaction

Three paragraphs on this page are only added when a visitor presses the show more button. Crawlers do not click, so they never see that text.

How this page is built

The button below adds three paragraphs to the page when it is pressed. The text is not in the raw HTML or in the HTML as first rendered, so it only exists for visitors who click.

Why it matters

Search engines index the page as it loads. They do not press buttons, open tabs that fetch content or scroll to trigger infinite loading. Text, links and products that only appear after an action are never seen, so they cannot rank and the pages they link to may never be found.

This is different from content that is in the HTML but hidden behind a tab, which Google can index.

How to check it

Search the rendered HTML for text that appears only after a click. Crawl tools that render JavaScript show the page as first rendered, so the missing text is easy to spot. Google’s URL Inspection tool shows the same.

How to fix it

Put the content in the HTML and use the button only to show or hide it. For long lists, give each page of results its own URL with an ordinary link, and let the button load the next page as an enhancement.

Back to all tests