---
title: "First HTML response pre-publish checklist: Agent Ready HTML"
description: "Why fetch-only agents miss answers built by JavaScript, and which raw HTML elements keep a page's key sentence readable and structured."
canonical: https://agentreadyhtml.com/guides/pre-publish-checklist-first-response/
site: "Agent Ready HTML"
last_updated: 2026-11-18
date: 2026-11-18
section: "Guides"
---

# First HTML response pre-publish checklist: Agent Ready HTML

> Why fetch-only agents miss answers built by JavaScript, and which raw HTML elements keep a page's key sentence readable and structured.

Source: https://agentreadyhtml.com/guides/pre-publish-checklist-first-response/
Site: Agent Ready HTML
Last reviewed: 2026-11-18

# The answer must be in the first HTML your server returns

In short

Fetch-only agents cannot read an answer that only JavaScript produces, so the page's key sentence has to sit in the raw response. Around it, ship one h1 with headings in order, a lang attribute, a meta description, a canonical link, a elements with href, alt text, real tables and JSON-LD that matches the visible content.

Published 18 November 2026

Test each item against the response as a fetch-only client receives it, with JavaScript off. Ora's [Content without JavaScript check](https://ora.ai/api/checks?utm_source=agentreadyhtml.com&utm_medium=referral&utm_campaign=guide) fetches pages that way, and its description states that most AI crawlers never run JavaScript.

## The answer and its outline

1.  **Put the answer text in the HTML the server returns.** [Vercel's guide](https://vercel.com/kb/guide/make-your-site-readable-by-ai-agents) states that a 403, an empty app shell or a JavaScript-only answer prevents fetch-only agents from reading the page. A client-rendered site may need server-side rendering, prerendering or a hybrid approach to get answers into the initial HTML. Anthropic's documentation says its [web fetch tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool) "currently does not support websites dynamically rendered with JavaScript."

Related: [Initial HTML](https://agentreadyhtml.com/initial-html/)

Related: [Check your initial HTML like an agent does](https://agentreadyhtml.com/guides/check-initial-html-like-an-agent/)

2.  **Use one h1 and step heading levels down in order.** A page should generally have a single `<h1>` that describes its content, and [MDN's heading reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/Heading_Elements) says not to skip levels: start from `<h1>`, followed by `<h2>` and so on. Jumping from heading to heading is a common navigation technique for screen reader users, and a skipped level may leave them wondering where the missing heading is.
3.  **Set the lang attribute.** With no indication of language anywhere, the language is in an unknown state, and [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/lang) recommends always specifying an appropriate value. An element without lang inherits the language of its parent element. The value is a single BCP 47 language tag, `lang=""` sets the language to unknown, and WCAG Success Criterion 3.1.1 requires a page language that may be programmatically determined.

## The head

4.  **Add a meta description.** [MDN's meta reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/meta/name) defines it as a short and accurate summary of the content of the page, which search engines like Google use to adjust how a page appears in results. Per Cloudflare's [Markdown for Agents docs](https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/), the converter fills the description field of its YAML frontmatter from `<meta name="description">`, falling back to `og:description`, and the title field from `<meta name="title">`, falling back to `og:title`. The standard form always takes priority over the Open Graph form, whatever their order in the HTML.
5.  **Put a self-referential canonical link in the head.** [Google's canonical guide](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls?hl=en) says to include a rel="canonical" link on the canonical page itself and to use absolute paths rather than relative ones. The element is only accepted if it appears in the `<head>` section. On a client-rendered page, specify the canonical URL in the HTML source and make sure JavaScript doesn't change it.

## Links and content behind clicks

6.  **Ship tab and accordion text in the response, not on click.** [Google's lazy-loading page](https://developers.google.com/search/docs/crawling-indexing/javascript/lazy-loading?hl=en) states that Google Search does not interact with your page, and the loading methods it lists don't rely on user actions such as scrolling or clicking. Its instruction is to load all relevant content whenever it is visible in the viewport.
7.  **Make every link an a element with an href.** Google can generally crawl a link only if it is an `<a>` element with an href attribute, according to [Google's crawlable links page](https://developers.google.com/search/docs/crawling-indexing/links-crawlable?hl=en). URLs in `<a>` elements without an href, or in other tags that act as links through script events, can't be reliably extracted.
8.  **Advertise the markdown twin with a link element.** The [llms.txt proposal](https://llmstxt.org/) recommends `rel="alternate" type="text/markdown"` to point to the markdown version of a page, as an HTML `<link>` element or an HTTP Link response header. Ora's [Markdown alternate link](https://ora.ai/api/checks?utm_source=agentreadyhtml.com&utm_medium=referral&utm_campaign=guide) recommendation adds that the advertised URL must serve markdown, since an advertisement pointing at HTML is worse than none. Check that the target's body starts with a heading, not `<!doctype html>`.

## Images, tables and JSON-LD

9.  **Give informative images alt text and decorative images an empty alt.** For an image that contributes meaning and is a simple graphic or photograph, the [W3C alt decision tree](https://www.w3.org/WAI/tutorials/images/decision-tree/) says to put a brief description that conveys that meaning in the alt attribute. Purely decorative images, and images whose text is also present as real text nearby, get an empty alt. For a graph or complex piece of information, include its information elsewhere on the page.
10.  **Mark up data tables as table elements with th header cells.** In the [WHATWG table rules](https://html.spec.whatwg.org/multipage/tables.html), the table element represents data with more than one dimension and th represents a header cell. Tables must not be used as layout aids, because tools extracting tabular data from such documents would obtain very confusing results. The scope attribute on th specifies which cells the header cell applies to.
11.  **Keep JSON-LD to what the page shows.** [Google's structured data guidelines](https://developers.google.com/search/docs/appearance/structured-data/sd-policies?hl=en) say not to mark up content that is not visible to readers: if the JSON-LD describes a performer, the HTML body must describe that same performer. Repeat critical facts in visible text, which [Vercel's guide](https://vercel.com/kb/guide/make-your-site-readable-by-ai-agents) recommends because some converters omit script blocks. Cloudflare's [converter documentation](https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/) states that it appends JSON-LD blocks at the end of the Markdown inside a single fenced json code block.

Related: [How to add JSON-LD agents use](https://agentreadyhtml.com/guides/add-json-ld-agents-use/)

## The final fetch

12.  **Fetch the page with an agent user-agent string and find your sentence.** [Vercel's guide](https://vercel.com/kb/guide/make-your-site-readable-by-ai-agents) uses this request and says the returned HTML should contain the answer:

```bash
curl -iL -A 'Claude-User/1.0' https://example.com/your-page
```

The same guide warns that this request cannot confirm whether a real agent is blocked, and names server logs as the best operational check.

Related: [Plain Fetch viewer](https://agentreadyhtml.com/viewer/)

13.  **If your zone serves Markdown, request it with an Accept header.** On zones with Markdown for Agents enabled, [Cloudflare's documentation](https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/) says the client adds the Accept header with text/markdown, and Cloudflare fetches the HTML from the origin and converts it:

```bash
curl https://example.com/your-page -H "Accept: text/markdown"
```

The response arrives with Content-Type set to `text/markdown; charset=utf-8`. Headers, footers, navigation, scripts and styles are stripped during pre-processing, so look for your sentence in the body text.

Related: [How to test readability in CI](https://agentreadyhtml.com/guides/test-readability-in-ci/)

## Sources

1.  [Vercel: Make your site readable by AI agents](https://vercel.com/kb/guide/make-your-site-readable-by-ai-agents) https://vercel.com/kb/guide/make-your-site-readable-by-ai-agents, read 18 November 2026
2.  [Anthropic: Web fetch tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool) https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool, read 18 November 2026
3.  [Ora checks API (catalogue of checks)](https://ora.ai/api/checks?utm_source=agentreadyhtml.com&utm_medium=referral&utm_campaign=guide) https://ora.ai/api/checks, read 18 November 2026
4.  [MDN: <h1>-<h6>: HTML Section Heading elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/Heading_Elements) https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/Heading\_Elements, read 18 November 2026
5.  [MDN: lang global attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/lang) https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global\_attributes/lang, read 18 November 2026
6.  [MDN: <meta name>](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/meta/name) https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/meta/name, read 18 November 2026
7.  [Google Search Central: How to specify a canonical URL](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls?hl=en) https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls?hl=en, read 18 November 2026
8.  [Cloudflare: Markdown for Agents](https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/) https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/, read 18 November 2026
9.  [Google Search Central: Fix lazy-loaded content](https://developers.google.com/search/docs/crawling-indexing/javascript/lazy-loading?hl=en) https://developers.google.com/search/docs/crawling-indexing/javascript/lazy-loading?hl=en, read 18 November 2026
10.  [Google Search Central: Make your links crawlable](https://developers.google.com/search/docs/crawling-indexing/links-crawlable?hl=en) https://developers.google.com/search/docs/crawling-indexing/links-crawlable?hl=en, read 18 November 2026
11.  [llmstxt.org: The /llms.txt file](https://llmstxt.org/) https://llmstxt.org/, read 18 November 2026
12.  [W3C WAI: An alt Decision Tree](https://www.w3.org/WAI/tutorials/images/decision-tree/) https://www.w3.org/WAI/tutorials/images/decision-tree/, read 18 November 2026
13.  [WHATWG: HTML Standard: Tabular data](https://html.spec.whatwg.org/multipage/tables.html) https://html.spec.whatwg.org/multipage/tables.html, read 18 November 2026
14.  [Google Search Central: General structured data guidelines](https://developers.google.com/search/docs/appearance/structured-data/sd-policies?hl=en) https://developers.google.com/search/docs/appearance/structured-data/sd-policies?hl=en, read 18 November 2026

Last reviewed 18 November 2026

Edition

Crawl

2026-11-04

Page updated

2026-11-18

Method

How the viewer reads a page, how a file is graded and how a platform is scored: [the method page](https://agentreadyhtml.com/method/).
