Agent Ready HTML

Agents get the first batch unless each page has a URL

In short

Load more buttons and infinite scroll are generally built with JavaScript, and a fetch-only client could not retrieve an answer available only through script, so it reads just the items in the initial HTML. The rest becomes reachable when every page has its own URL, such as ?page=n, linked from the page before by an a element with an href.

Published 18 November 2026

Google's crawlers don't "click" buttons and generally don't trigger JavaScript functions that require user actions to update the current page contents, according to Google's pagination guide. They generally crawl the URLs found in the href attribute of <a> elements.

Three patterns for a long list

Google's guide names three ways to show part of a larger list. With pagination, a user moves between pages that each display one page of results, through links such as "next", "previous" and page numbers. A load more button extends an initial set of displayed results when the user clicks it. Infinite scroll loads more content when the user scrolls to the end of the page. Pagination can be built from links to new pages or from JavaScript that updates the current page. Load more and infinite scroll are generally implemented using JavaScript.

Anthropic's web fetch tool documentation states that the tool does not support websites dynamically rendered with JavaScript. For pages that need JavaScript rendering, clicking or filling forms, Anthropic points to its browser use tool instead. In controlled probes that Vercel's guide reports from work with the ora.ai research lab, a fetch-only client could not retrieve an answer available only through JavaScript.

Related: How to see your site as a plain-fetch client

Put each page of the list at its own URL

URLs in a paginated sequence are treated as separate pages by Google, so the pagination guide asks for a unique URL per page, for example a ?page=n query parameter. Keep page numbers out of fragment identifiers (the text after a #). Google ignores fragments, and if Googlebot sees a next-page URL that differs only after the #, it may not follow the link, thinking it has already retrieved the page.

Infinite scroll needs the same addresses. Google's lazy-loading page asks that each chunk get its own persistent, unique URL, and that the content shown on each URL stay the same every time it loads in a browser. Absolute page numbers such as ?page=12 do that; avoid relative values like ?date=yesterday. When a new chunk loads as the user scrolls and becomes the primary visible element, update the displayed URL with the History API. That lets the user refresh, share and link to the URL in the browser.

Link forward with an anchor that has an href

From each page, include a link to the following page using <a href> tags; Google's guide says this can help Googlebot find subsequent pages. Linking from every page back to the start of the collection can give Google a hint that the opening page might be a better landing page than the others. Pages in the sequence may share the same titles and descriptions. Google no longer uses <link rel="next"> and <link rel="prev">, although other search engines may still use them.

Per Google's crawlable links page, Google can generally crawl a link only if it is an <a> element with an href attribute. It can't reliably extract URLs from <a> elements without an href, or from other tags that perform as links because of script events. Its list of links Google can parse includes <a href="/products/category/shoes" onclick="javascript:goTo('shoes')">, an anchor that carries a script handler and keeps its href. On the not-recommended list sit <a onclick="goto('https://example.com')">, <span href="https://example.com"> and hrefs that hold javascript: code. Links that JavaScript inserts into the page are crawlable as long as they use the recommended markup.

Give each page its own canonical

Don't use the first page of a paginated sequence as the canonical page for the set. Google's pagination guide asks you to give each page its own canonical URL instead.

Google's canonical page recommends a self-referential rel="canonical" link on the canonical page itself. Specify it in the HTML source code and make sure JavaScript doesn't change the canonical link element. Use absolute paths rather than relative paths in it. Google accepts the element only if it appears in the <head> section. Never name a URL fragment as canonical; Google generally doesn't support fragments.

Lazy loading that waits for the viewport, not a gesture

Make sure lazy-loaded content loads whenever it is visible in the viewport. Google's lazy-loading page lists browser built-in lazy-loading for images and iframes, the IntersectionObserver API with a polyfill, and a JavaScript library that supports loading data when it enters the viewport. None of these rely on scrolling or clicking to load content, which Google calls important because Google Search does not interact with your page. Leave lazy-loading off content likely to be visible as soon as a user opens the page, since that might make it take longer to load and show up.

MDN's lazy loading guide describes the browser side. The loading attribute on an <img>, <iframe>, <video> or <audio> element tells the browser to defer loading off-screen resources until the user scrolls near them. An Intersection Observer lets you know when an observed element enters or exits the viewport. Where browser compatibility comes first, MDN lists a polyfill or a fallback to scroll, resize or orientation change event handlers.

Render page one, then let script take over

MDN defines progressive enhancement as a design philosophy that provides a baseline of essential content and functionality to as many users as possible, while delivering the best possible experience only to users of the most modern browsers that can run all the required code. Apply it to a list: render page one in the HTML the server sends, make the load-more control an <a> whose href points to ?page=2, and let your script take over that control in browsers that run it.

If your site is client-rendered, Vercel's guide says making answers available in the initial HTML may require server-side rendering, prerendering or a hybrid approach so agents that do not run JavaScript can read them.

Related: How to move the answer into the initial HTML without a rewrite

Test the sequence with JavaScript off

Fetch page one with a client that does not run JavaScript. Vercel's guide says the request should end with a 200 response, intermediate 301 or 308 redirects are acceptable, and the returned HTML should contain the answer. A 403, an empty app shell or a JavaScript-only answer prevents fetch-only agents from reading the page.

Related: Plain Fetch viewer

  1. Count the list items in the returned HTML and compare that count with what a browser shows before any click or scroll.
  2. Follow only the URLs in the href attributes of <a> elements, page after page, since those are the URLs Google generally crawls. Note the page where the links stop and compare it with the last page of the list.
  3. Check that every fetched page names its own URL in rel="canonical".
  4. For Google, open the URL Inspection Tool in Search Console and check whether all content was loaded, using the rendered HTML it shows, as Google's lazy-loading page describes.

A curl request cannot confirm whether a real agent is blocked, because bot blockers weigh where a request comes from more than its user-agent string. Vercel calls server logs the best operational check. OpenAI and Anthropic publish crawler IP ranges: find requests from those ranges and confirm that they reach the intended page and receive the expected response.

Sources

  1. Google Search Central: Pagination, incremental page loading, and their impact on Google Search https://developers.google.com/search/docs/specialty/ecommerce/pagination-and-incremental-page-loading?hl=en, read 18 November 2026
  2. Google Search Central: Make your links crawlable https://developers.google.com/search/docs/crawling-indexing/links-crawlable?hl=en, read 18 November 2026
  3. Google Search Central: Fix lazy-loaded content https://developers.google.com/search/docs/crawling-indexing/javascript/lazy-loading?hl=en, read 18 November 2026
  4. MDN: Lazy loading https://developer.mozilla.org/en-US/docs/Web/Performance/Guides/Lazy_loading, read 18 November 2026
  5. MDN: Progressive enhancement https://developer.mozilla.org/en-US/docs/Glossary/Progressive_enhancement, read 18 November 2026
  6. Google Search Central: How to specify a canonical URL https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls?hl=en, read 18 November 2026
  7. Anthropic: Web fetch tool https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool, read 18 November 2026
  8. Vercel: Make your site readable by AI agents https://vercel.com/kb/guide/make-your-site-readable-by-ai-agents, read 18 November 2026

Last reviewed 18 November 2026