Your product now has a second kind of user: AI agents that browse, fill in forms and buy on someone’s behalf. The good news is that most of what makes a site work for agents is good accessibility practice you should already be doing. NN/g and Google reached this conclusion independently. The bad news: polished, motion-heavy interfaces often break for agents in ways no human tester notices.
This guide takes you through eight steps, from how agents see your site to designing for the human who sent them, followed by the most common pitfalls.
Agent Experience in the sense of Mathias Biilmann (Netlify, Jan 2025) means the agent is the user. Many blogs use “AX” for the experience of people using agents. This guide covers the first meaning; step 8 touches the second, because the agent always acts for a person.
Understand how agents perceive and act
Agents don’t see your site on a monitor; they work from a machine-readable version of it, and its quality decides how well they perform. According to Google’s web.dev guide, agents read a page through three channels and usually combine them:
| Channel | What the agent gets | Where it fails |
|---|---|---|
| Screenshot + vision model | Layout, grouping, size and colour as signals of importance | Slow and token-expensive; confused by shifting layouts, overlays, tiny targets |
| DOM / raw HTML | Nesting, IDs, classes, raw text and data | A styled <div> looks like text, not a button |
| Accessibility tree | Roles, names and states of interactive elements | Missing labels, wrong roles, unnamed icon buttons |
There are also two broad kinds of agent visitor:
E.g. ChatGPT agent/Atlas, Google’s Project Mariner. They operate your UI like a person.
Skip the UI and call tools or APIs (MCP, WebMCP, commerce protocols, see step 6).
Most products will need to serve both for some time.
Watch an agent use your top three journeys (sign-up, search, checkout) and note where it hesitates, retries or gives up. Treat it like a usability test with a very literal participant.
Build on semantic, accessible markup
The accessibility tree is the agent’s most reliable map, so the cheapest agent fix is an accessibility fix. Google is explicit that everything that makes a site “agent-ready” also makes it better for humans, and advises against building a separate agent version.
- Use
<button>and<a>for actions, not clickable<div>or<span>. If you can’t, addroleandtabindex(e.g.<div role="button" tabindex="0">). - Link every
<label>to its input withfor, so the field’s purpose sits next to the action. - Give icon-only buttons an accessible name (
aria-label="Add to cart"), not just a glyph. - Use landmarks and a real heading hierarchy (
<header>,<nav>,<main>,h1–h3) so the agent knows which region it is in. - Keep related controls inside their container: a “Buy now” inside a product card is read as belonging to that product.
- Set
cursor: pointeron clickable elements; Google calls it a strong signal of actionability.
Open Chrome DevTools → Accessibility pane and check your key screens. Every interactive element needs a sensible role, a name and its state (checked, expanded, disabled).
Keep layouts stable and actions visible
Agents that work from screenshots get lost when the page moves under them. Google calls sites with complex hover states, shifting layouts and fluid motion “functionally broken” for agents.
Keep the primary action in the same place across templates. An “Add to cart” button that moves per product category confuses screenshot-based agents.
Anything needed to finish a task must be visible without hovering. Agents don’t reliably trigger hover states.
Avoid transparent overlays on top of interactive elements. Visual analysis may discard covered nodes even if the overlay looks invisible.
Google says targets under 8 square pixels risk being filtered out. Aim much higher: WCAG 2.2 AA asks for 24×24 CSS px, which helps humans too.
Load content into reserved space, keep motion short, and respect prefers-reduced-motion.
State changes (item added, filter applied) must be visible on the page, not only in a toast that vanishes after two seconds.
Add an “agent pass” to design reviews: could someone who can’t hover, can’t see animation and reads the page as a list of controls finish this flow?
Make content and data machine-readable
Agents compare facts, not moods: they ask for price, size, availability and delivery time, not your logo. German e-commerce expert Stefan Wenzel puts it this way in t3n: structured product data matters more than brand storytelling when an agent is the shopper.
- Text, not pictures of text: price lists, opening hours or specs that exist only as an image or PDF are a dead end for many agents (mowa.studio).
- Structured data: mark up products, offers, events and FAQs with schema.org (JSON-LD). Keep it in sync with the visible page.
- Complete attributes: price incl. VAT and shipping, stock, variants, dimensions, return policy. A missing attribute often means the agent picks a competitor.
- Clear, unambiguous wording: one name per thing, units always given, no “from €9*” with the condition hidden in a footnote.
- Fast, server-rendered core content: content that appears only after heavy client-side scripts or user interaction may never be seen.
llms.txt is a proposal, not a standard, and Google says its Search does not use it. Google’s May 2026 guidance on AI features stresses that solid technical SEO remains the foundation. Fix your data before chasing new files.
Design forms, flows and errors an agent can recover from
Forms are where agents fail most often. Biilmann’s definition of AX includes exactly this: can an agent find your service, use it reliably and recover from errors?
- Short and predictable: fewer steps, fewer fields, standard field types. Long multi-step wizards are a known stumbling block.
- Standard autocomplete: use
autocompletevalues (email,postal-code,cc-number),type="email",inputmodeand native date pickers instead of custom widgets. - Explicit constraints up front: show format and limits before input (“DD.MM.YYYY”, “max. 500 characters”), not only after a failed submit.
- Machine-readable errors: put error text next to the field, link it with
aria-describedby, setaria-invalid, and say how to fix it. “Invalid input” helps no one. - Idempotent, reversible actions: agents retry. A double-clicked “Pay” must not charge twice; an undo or cancel path must exist.
- Clear end states: a confirmation page with order number and summary as text tells the agent (and the human) that the task is done.
- Deliberate gates: CAPTCHAs, cookie walls and pop-ups block agents. Use them where you want to stop automation, not by accident on every page.
Run your checkout with an agent and with a screen reader. Every point where either one stalls is a bug for both.
Offer explicit interfaces where clicking is the wrong tool
A good UI is the baseline; for frequent, high-value tasks, give agents a direct way in instead of making them click. The standards now split into layers:
| Layer | Standard | Who / since | Use it for |
|---|---|---|---|
| Tools and data | MCP | Anthropic, Nov 2024; Linux Foundation since Dec 2025 | Exposing your service to agents as callable tools |
| Tools in the web page | WebMCP | Google + Microsoft, W3C proposal; Chrome 149 origin trial | Annotating forms or registering JS functions as tools in the page |
| Agent to agent | A2A | Google, 2025 | Agents delegating to other agents |
| Purchase | ACP, UCP | OpenAI/Stripe, Sep 2025; Google/Shopify, Jan 2026 | Agent-ready checkout and payment |
| Identity | Web Bot Auth | Cloudflare, IETF draft | Verifying who an agent is (step 7) |
OpenAI’s first Instant Checkout was not flexible enough, and since March 2026 merchants use their own checkout again. Clean data and a working UI pay off whichever protocol wins.
Plan for identity, trust and security
Opening your product to agents also opens it to manipulated agents. OpenAI admits that prompt injection may never be fully “solved” for browser agents like Atlas, and the UK’s NCSC makes the same warning (CyberScoop).
- Know who’s visiting: User-Agent headers are easy to fake, and many agents pose as Chrome. Cloudflare’s Web Bot Auth lets agents sign requests cryptographically; verified “signed agents” include ChatGPT agent and Browserbase. Card networks (Visa, Mastercard, PayPal) issue tokenized agent credentials for payments.
- Policy over blocking: the hard question is what you allow, not the technology (WorkOS). NN/g warns that blocking agents without a reason risks pushing users to competitors who let them in.
- Scoped permissions: let users grant agents limited rights (read only, spending limit, specific actions), revocable at any time.
- Don’t become the attack vector: user-generated content (reviews, comments, listings) can carry hidden instructions. Don’t render untrusted text in places agents treat as instructions, and never put hidden text in your own pages to steer agents.
- Human confirmation for consequential steps: payment, deletion, sending data to third parties. A big red “Delete” is read more cautiously than a small link, so keep visual weight honest.
Critics such as agentcommunity.org argue Web Bot Auth is built for bots and acts more like a moat than a neutral identity layer. Identity is being standardized now, and who controls it is still open.
Design for the human behind the agent
An agent is never the end user; there is always a person whose money, data and reputation are on the line. NN/g’s follow-up article proposes “experience design” as the umbrella term precisely because human goals stay at the centre.
Victor Yocco’s Smashing Magazine series offers concrete patterns:
From “observe and suggest” to fully autonomous. Browsing can be autonomous; paying, cancelling or sharing data needs a human step.
Before acting, show what the agent is about to do (“Book 2 tickets, €84, Fri 19:30, pay with Visa •1234”).
A readable log of what an agent did on the person’s behalf, in their account, with time and source agent.
Undo, cancel and dispute must be as easy for the person as the action was for the agent.
Spending caps and manual confirmation are what c’t/Handelsblatt advise consumers to use. Germany’s Advisory Council for Consumer Affairs also recommends spending limits in its October 2026 report (juraforum).
Confirmation emails and receipts go to the person, not only back to the agent.
Pitfalls to avoid
| Pitfall | Why it hurts | Instead |
|---|---|---|
| Building a separate “agent version” of the site | Double maintenance; Google advises against it | One accessible site, plus explicit tools (step 6) for key tasks |
| Blocking all agents by default | Users who delegate drift to competitors (NN/g) | Decide per action: allow reading, gate paying |
| Div-buttons, icon-only controls, hover menus | Invisible or meaningless in the accessibility tree | Semantic HTML, accessible names, visible actions |
| Prices and specs as image or PDF | Agent can’t compare, picks a competitor | Text plus schema.org data |
| Treating llms.txt or “GEO hacks” as the fix | Not a standard; Google Search doesn’t use llms.txt | Technical SEO and clean data first |
| Hidden text to steer agents | Looks like prompt injection; erodes trust and may be penalized | Honest, visible content |
| One-click consequential actions | Agents retry and misread; costly mistakes | Intent preview, confirmation, idempotency, undo |
| Trusting the User-Agent header | Trivially faked; many agents pose as Chrome | Signed requests (Web Bot Auth), tokenized credentials |
| Betting on one commerce protocol | ACP and UCP are young; OpenAI already changed course | Protocol-agnostic data and checkout |
| Taking trillion-dollar forecasts as fact | McKinsey ($3–5T by 2030) and Gartner (90% of B2B purchases by 2028) are predictions | Look at usage surveys: people research with AI, few delegate the purchase yet |
| Assuming analytics shows agent traffic | Agent visits often look like normal sessions or don’t show at all | Log server-side, segment verified agents |
| Confusing the two meanings of AX | Teams talk past each other | Say “agent as user” or “human using agent” explicitly |
McKinsey’s European survey (n = 2,145, Mar 2026) found 63% use AI to compare products, but few hand over the purchase. In the German-speaking retail sector, 11.6% already use agentic-commerce applications (EHI via retail-news). Prepare now, but don’t redesign for a fully autonomous future that isn’t here yet.
Checklist
Sources
From the reading list, plus searches on 4 Nov 2026 (marked *). Added from general knowledge: WCAG 2.2 target size (24×24 px, AA), HTML autocomplete/ARIA error patterns, idempotency for retried actions.
Gibbons, Moran: AI Agents as Users, NN/g, 10 Apr 2026 (summary used: thehuman2ai*)
NN/g: Experience Design: Dropping the “User” from “User Experience”, 30 Oct 2026
Biilmann: Agent Experience / Introducing AX, Netlify, 28 Jan 2025
Yocco: Designing for Agentic AI: Practical UX Patterns, Smashing Magazine, 11 Feb 2026
Agent Experience (AX): Was KI-Agenten auf Deiner Website erleben, berger.team, 2026
KI-Agenten auf Websites, mowa.studio, 2026
Kulikowski, More: Build agent-friendly websites, Google web.dev, Apr 2026*
Google Publishes Guide to Building Agent-Friendly Websites, Search Engine Journal*
WebMCP Standard Proposal Now Available in Chrome (Origin Trials), InfoQ, Jun 2026*
Google Details WebMCP Origin Trial for Chrome 149, The DropTimes, 2026*
Howard: /llms.txt proposal, Answer.AI, 3 Sep 2024
Google’s new guide for AI search, PPC Land, May 2026
Introducing the Model Context Protocol, Anthropic, 25 Nov 2024
Developing an open standard for agentic commerce, Stripe, 29 Sep 2025
New tech and tools for retailers (UCP), Google, 11 Jan 2026
Europe’s agentic commerce moment, McKinsey, 2 Mar 2026
Scherer: KI-Agenten als Käufer, t3n, 30 Jun 2026
Agentic Commerce: Wer haftet, wenn KI einkauft?, heise/c’t, May 2026
KI kauft für Sie ein: Diese Risiken sollten Sie kennen, Handelsblatt (dpa/tmn), 20 May 2026
KI-Agenten gehen shoppen, juraforum.de, Oct 2026
EHI study on agentic commerce, retail-news.de, Sep 2026
Forget IPs: using cryptography to verify bot and agent traffic, Cloudflare, 15 May 2025
Web Bot Auth: How to identify AI agents, WorkOS, 2026
Web Bot Auth, not for agents, agentcommunity.org, 23 Aug 2025
Otto: OpenAI says prompt injection may never be ‘solved’, CyberScoop, 30 Dec 2025