Cliff Notes #01 · December 2026 · 2 min read
Screen Readers Taught Us How to Build for AI Agents
In One Sentence
Making a website or tool accessible to AI agents means describing what it does in clear, structured contracts instead of making software guess from visual layout, which is the exact same problem screen readers have faced for decades.
The Problem It Solves
-
Humans using screen readers cannot visually guess what an unlabeled
clickable
<div>with a shopping cart icon does. They need a real<button>, a clear label, and an explicit error message when something fails. - AI agents hit the exact same wall. When an app hides actions behind messy HTML, vague API inputs, or silent errors, an agent has to guess. Guessing is where agents hallucinate, loop, or break.
The Mental Model: 6 Rules for Agent-Accessible Tools
-
Make capabilities discoverable: Let an agent ask what your system can
do without scraping. Use
MCPtool definitions, anA2AAgent Card (/.well-known/agent.json), or Schema.orgJSON-LDproduct markup. -
Label every input clearly: Give parameters strict types, ranges, and
plain-English descriptions (like
max_budget_usd: number > 0instead of a mysterydatafield). -
Return structured states: Send predictable JSON states
(
accepted,counter_offer,out_of_stock) instead of walls of HTML or ambiguous text. -
Write helpful errors: Tell the caller why something failed and how to
recover ("Quote expired; request a new cart mandate" beats a bare
400 Bad Request). - Bake in safety and idempotency: Support dry runs, one-time nonces or idempotency keys so retries never double-charge, and require explicit human approval before money or destructive actions run.
- Keep responses lean: Return only the fields needed for the next step instead of dumping 50 KB of noisy logs into a context window.
Why This Matters Right Now
Accessibility has always been the right thing to do for people. Now it is also an engineering superpower for the agentic web. When you build semantic HTML, clear labels, helpful validation messages, and keyboard-operable approval flows to WCAG 2.2 Level AA, you automatically make your software dramatically more reliable for AI agents too.
Good accessibility for humans and good ergonomics for agents are not competing goals. They are the same discipline.
30-Second Gut Check
- Could someone navigate your core flow using only a keyboard and a screen reader?
- Could an AI agent tell what your endpoint accepts and returns without reading your source code?
- If a bot retried that same request twice in 2 seconds, would anything break or double-charge?