Skip to main content
Lesson
21
of 31

Pages for AI agents

Writing pages an AI agent can act on

An agent sent to find your price or book a demo needs the fact in the page text and a next step it can use. Write both in the page text, and give forms and buttons names an agent can read.

What you'll be able to do

For content writers, web managers and product marketers who own pricing, product, location and contact pages.

  • Rewrite one page so an AI agent can report its price and find the next step.
  • Mark up the same facts as structured data that matches the text.
  • Find and fix form fields and buttons an agent cannot name.

An agent can act on your page when the fact a buyer needs is written as text beside its label, the same fact is in the structured data, and the next step is a link, button or form with a name that says what it does. A typical task a buyer gives an agent asks for one fact and one action: "find the price of yourbrand's Pro plan and request a demo." The agent is software that completes that task for the person. AXO, short for agent experience optimization, is the work of making pages it can read and use.

What Momentic's agent operability audit checks

Momentic scores how well a browser agent can complete a task on a website with 24 checks in eight groups: real buttons and links, states the agent can read (open, selected, loading), keyboard operation, validation messages the agent can read, stable task steps, prices and terms in text, a clear confirmation, and parity with what a person sees. Each check scores 0, 1 or 2, and the person running it ends the walk one step before anything with a real effect, such as sending a lead or placing an order.

We ran it on our own contact form on September 11, 2026, and the form scored 25 of 44. It scored 0 of 6 on validation. When we pressed Send with the form empty, the browser drew its own "Please fill out this field" bubble, which is not in the accessibility tree, so an agent could not tell why nothing happened. The page had no label elements, and two fields shown as required on screen had no required attribute. Keyboard operation and task steps scored full marks. The new website's form fixes the labels; the rest of this lesson shows how.

Facts an agent looks for

Write down the facts a buyer asks about on each page type, then check that each one appears as text:

  • Pricing page: the price, the currency, the billing period, what each plan includes, and the starting price if prices vary.
  • Product or service page: the specs or scope, who it is for, availability (in stock, waitlist, regions served), and the delivery or start time.
  • Location page: address, phone, hours, and the services offered at that location.
  • Contact page: how to reach you (form, email, phone), what the form asks for, and when you reply.
  • Product data for agents that buy: identifiers, variants, price, availability, shipping and returns. Momentic's manual names these six fields and asks that they match across the page, the product feed and the store's backend.

Put each fact next to its label in a full sentence or a table row. "Pro: $12 per scheduled staff member per month, billed annually" can be quoted without the rest of the page. "From $12" under an icon cannot, because the agent has to guess what the $12 is for.

State the same facts in structured data

Structured data is code in the page, usually JSON-LD, that states facts in schema.org's vocabulary. It gives software that reads JSON-LD a second, labeled copy of the facts on the page. Use these types where they match the page:

  • Product or Service with an Offer that has price, priceCurrency and availability. Google uses Offer for merchant listings and says "merchant listings require an Offer" (Google, merchant listing (opens in a new tab)).
  • LocalBusiness with address, telephone and openingHoursSpecification.
  • Organization with contactPoint (a ContactPoint with contactType, telephone and email).

Put each fact in the visible text first and repeat it in the structured data. The published evidence points that way. Ahrefs tracked 1,885 pages that added JSON-LD and reported "no major uplift in citations on any platform" across Google AI Overviews, AI Mode and ChatGPT, and a searchVIU test of five AI systems (ChatGPT, Claude, Gemini, Perplexity and Google AI Mode) found that "No system named the price that was only in the JSON-LD" (searchVIU (opens in a new tab)) (Ahrefs, schema and AI citations (opens in a new tab)). Our own test found one case the other way: in 4 of 4 runs on November 27, 2026, the research agent reported Momentic's email address from the contact page's JSON-LD, because Cloudflare's email obfuscation hid the visible address. So structured data can rescue a fact the text hides, and the visible text is the copy that each agent in these tests read. Google's rules require the same order: "Don't mark up content that is not visible to readers of the page" (Google, structured data policies (opens in a new tab)). The lesson Adding structured data to your pages shows how to add and test JSON-LD.

Questions and answers written in the page text are readable in the HTML, the markdown and the accessibility tree. Google's FAQ rich results are gone from Search: Google's changelog says the feature "will no longer appear in Google Search starting May 7, 2026," and HowTo rich results were removed in 2023 (Google Search Central updates (opens in a new tab)).

Forms an agent can fill in

A browser agent that reads the accessibility tree finds form fields by their accessible name. The accessible name comes from the field's label element when the label is connected to the field with for and id. In our tests, Chrome named fields without a label by their placeholder text, and on our forms the placeholder was an example value.

On November 27, 2026, the footer form on Momentic's live Home page showed the visible words "First Name" and "Last Name" above its fields, but the words were not connected to the fields. The accessibility tree named the fields by their placeholders:

- text: First Name *
- textbox "Justin"
- text: Last Name *
- textbox "Time"
- text: Company Website *
- textbox "aigoals.org"

An agent reading that tree sees a field called "Time" where the last name goes. The new Momentic website's contact form connects each label to its field, and the tree reads textbox "Name (required)", textbox "Work email (required)" and textbox "What you need (required)".

For each form, check:

  • Each field has a label with for matching the field's id.
  • Required fields have the required attribute and say "required" in the label.
  • Fields use type="email", type="tel" and autocomplete values such as name, email and organization, so an agent knows what to type.
  • The page says in text what happens after sending and when you reply.
  • A bot check, such as Cloudflare Turnstile, can stop an agent from sending. On the new Momentic contact page, headless Chrome showed the Send button disabled and the text "The spam check has not finished in this browser. Reload the page, or email [email protected]." The page gives an email address as a second route, which an agent can pass to the person.

Buttons and links that say what they do

Browser agents that read the accessibility tree choose links and buttons by their names. A button labeled "Request a demo" tells the agent what happens; "Let's talk" or "Learn more" does not. MDN recommends native buttons: "native HTML buttons are supported by all user agents and assistive technology and provide keyboard and focus requirements by default" (MDN, button role (opens in a new tab)). Use an a element with an href for anything that goes to another page, and a button for an action on the page. A div with a click handler appears in the accessibility tree as generic, not as a link or a button.

On momenticmarketing.com's live Home page on November 27, 2026, five visible links read "Let's talk," and two of them went to #footer-form, a form at the bottom of the same page. The new website's buttons read "Talk to us," which still does not name the action, and go to /contact, where the h2 above the form reads "Request an intro call."

What our agent test found

On November 27, 2026, we gave a research agent (Claude Haiku in Claude Code, reading pages with WebFetch) three tasks: find the starting prices, find how to book an intro call, and find the email and phone. We ran it twice on the live momenticmarketing.com and twice on the new website's staging copy.

TaskLive website (2 runs)New website (2 runs)
Starting pricesNot found in 2 of 2. Both runs found the question "What is pricing like?" with no answer, and both tried /pricing, which returned 404Found in 2 of 2, quoting "Projects start at $5,000" and "Monthly SEO, AI search and content work starts at $3,000 per month"
Book an intro callFound in 2 of 2, but both runs sent the person to the Home page's footer form; both reported that /contact "did not report a form"Found in 2 of 2: /contact, with the field list and "within one business day"
Email and phonePhone in 2 of 2; email only from JSON-LD, because the visible email was obfuscatedSame

Four runs with one agent is a small test. From those runs, a content team would put the starting price in text and give the contact form its own page with a heading that names the action.

What this means for AI answers

A price written as a full sentence next to its label is also a passage an AI answer can quote with its source, which an image of a price table is not. The lesson Writing sections AI answers quote shows how to write those passages.

Worked example

yourbrand.com/pricing, before:

  • Three plan cards with prices in an image of a table.
  • A "Monthly or Annual" toggle that changes the prices with a script.
  • A "Let's talk" button that opens a pop-up form with placeholder-only fields.

After:

  • An h2 "Plans and prices" and a table in HTML: plan name, price per scheduled staff member per month, billing period, what is included.
  • A sentence under the table: "Prices are in US dollars. Annual billing is 15% less than monthly billing. Contracts start at 12 months."
  • Product markup for the software with one Offer per plan (price, priceCurrency: "USD", availability: "https://schema.org/InStock").
  • A link "Request a demo" to yourbrand.com/demo, a page whose form has labeled fields (Name, Work email, Hospital, Number of units) and a sentence: "A product specialist emails you within one business day."

Prompt to retest it: "Find the price of yourbrand's Pro plan, billed annually, and tell me how to request a demo." Record what the agent reports and which page it quotes.

Test your own page (about 25 minutes)

  1. Choose one page and one task, for example "find the starting price and request a quote."
  2. Ask two assistants the task with the page URL, three times each, in new chats. Use ChatGPT with search and Claude with web search, or any two you use. Tell the agent not to send any form.
  3. For each run, write down: the answer, the URL it quoted, and whether the answer matches your page.
  4. Open the page in Chrome, open DevTools > Elements > Accessibility, turn on the full-page accessibility tree, and read the names of your form fields and buttons. Write down any field named by its placeholder and any button whose name does not say what it does.
  5. List each failure with its cause: fact not in text, fact only in an image or script, unclear link or button, unlabeled field, bot check, or the agent opened a different page.

Check your page

What to do next

Next, check what an agent receives when it asks for your page as markdown, in Serving your pages as markdown. Momentic tests which tasks AI agents complete on websites and fixes what blocks them: agent experience optimization.

Questions about this lesson

Do AI agents read schema markup?

In our November 2026 test, a research agent reported an email address from a page's JSON-LD when the visible address was hidden. The AI company documentation we read (OpenAI, Anthropic, Google, Perplexity) does not say whether their agents read JSON-LD, so keep each fact in the page text and repeat it in the markup.

Why can't an AI agent fill in my form?

In our tests the cause was fields without connected labels, which the browser named by their placeholder text. A bot check can also disable the send button in an automated browser.

Should I still use FAQ schema?

Write questions and answers in the page text, where readers and agents can use them. Google removed FAQ rich results from Search on May 7, 2026, so FAQPage markup no longer changes how a page appears in Google.

What changed

Last updated November 2026

More lessons from the Content Academy