Content accessible without JS: what the check tests and how to fix it

Counts crawled pages whose served HTML has 50 words of text (100 if a JS framework marker is present) and is not an empty SPA shell. 70% passes.

Technical · Weight 1 in the w2agent Score

How common is it?

82% of 1223 measured sites where this check applied pass.

Latest audit of each site under rubric v3.1. Sites where the check did not apply or could not be measured (for example, no llms.txt for the llms.txt checks) are left out. A partial result does not count as a pass.

What this check tests

The audit never runs JavaScript. It reads the HTML the server returns for each crawled page (the homepage plus a sample of same-site pages) and asks whether there is real content in it. For each page:

  1. It looks for framework markers anywhere in the raw HTML: __NEXT_DATA__, window.__nuxt__, ng-app, ng-version, data-reactroot, data-v-app, __svelte and ember-application. These are plain text matches, so they can also match in a code sample.
  2. It decides whether the page is a JS-only shell. All three of these must be true: the HTML has an empty mount element, meaning a div with id __next, root, app or __nuxt (or a data-reactroot div) with nothing inside; there are fewer than 5 <a> elements with an href; and the visible text, at about 5 bytes per word, is under 20% of the size of the <script> tags. A shell page never counts.
  3. For other pages it counts the words of visible body text. Script, style, noscript and template content are not visible text. Words inside <noscript> are counted separately and added. The page counts as good when the total reaches 50 words, or 100 words if a framework marker was found in step 1.

The score is good pages divided by all crawled pages, rounded.

  • Pass: 70 or more.
  • Partial: above 0 but under 70.
  • Fail: 0.

If markers were found, the result lists the frameworks. A marker is not penalised on its own: a server-rendered Next.js, Nuxt, Vue or Angular site with enough text passes, but it needs the higher 100-word bar.

The check counts words, not usefulness, so a page of cookie-banner text can reach 50. A thin page that is not a shell can fail on the count alone. It does not compare the raw page with a rendered one.

Why it matters to agents

Whether a tool sees your content depends on whether it runs scripts. Google's documentation says that Google Search runs JavaScript with an evergreen version of Chromium, but that rendering happens in a queue after crawling, and that server-side or pre-rendering is still a great idea because it makes your site faster for users and crawlers, and not all bots can run JavaScript.

That last point is the general one. Any agent or tool that fetches the raw HTML and does not render it sees only what this check sees. For a client-rendered site that can be an empty page: no text, few links, nothing to cite. This page does not name any AI vendor's fetcher, because the sources cited here do not state which ones render JavaScript. The safe assumption is that some do not. None of the other Technical checks asks whether your content exists in the first response. Weight is 1.

How to fix it

  1. Look at what the server returns. Run curl -s https://example.com/ | head -c 5000 and read the output. If the main text and links are not there, a non-rendering tool cannot see them.
  2. Render on the server or at build time: server-side rendering, static generation or prerendering, depending on your framework. Start with the pages the audit samples: the homepage and the pages your sitemap and homepage link to.
  3. Keep real <a href> links in the HTML. Google notes that it can only discover links that are <a> elements with an href, and that SPAs should use the History API instead of URL fragments for routing.
  4. Put the main text of each page in the initial HTML, not behind a fetch call after load.
  5. A <noscript> block is counted by this check, and MDN describes it as the content shown when scripting is off. Use it for a real fallback, not as a substitute for rendering.
  6. If you cannot render server-side, offer another path to the text, such as a markdown alternate or an llms.txt that links to static pages.

Page structure inside the rendered HTML is covered by Semantic HTML elements and Heading hierarchy.

Examples from measured sites

Up to 10 of the highest-scoring sites in each group, from recent audits. Failing includes partial results.

Passing

Failing or partial

Sources

Verified against these sources on

Does your site pass this check?

Check your own site →