Plain HTML and accessibility - AgentReady

Plain HTML and accessibility: the parts of your site agents can actually use

Text in the HTML, real links, labelled buttons. The boring basics serve screen readers and software alike.

You can add all the structured data you like, but most of what a customer, a search engine or an AI tool learns about your business comes from the page itself. This guide is about the page itself: why plain HTML and basic accessibility make a site easier for software to use, and which habits matter most on a small business site.

Three ways software reads a page

AI tools don't all read the web the same way. The approaches documented by the people who build them fall into three groups.

  1. Fetching the raw HTML. Search crawlers and the "fetch this page for me" bots (OpenAI's ChatGPT-User, Anthropic's Claude-User, Perplexity's Perplexity-User) request your page and read what comes back. Google's JavaScript SEO guide notes that not all bots can run JavaScript, and calls server-side rendering or pre-rendering "still a great idea" for that reason. If your hours only appear after a script runs, a bot that doesn't run scripts never sees them.
  2. Reading the accessibility tree. Browsers build an "accessibility tree" from your HTML. MDN describes it as giving each element a name, a role (button, link, list) and a state, and says assistive technologies such as screen readers use it. Some agent tools do too: Microsoft's Playwright MCP, a tool for letting AI models drive a browser, says it works from accessibility snapshots rather than screenshots. A button that's really a <div> with no name is invisible or meaningless in that tree.
  3. Looking at screenshots. Anthropic's computer use tool, for example, has Claude request screenshots and then click and type at screen positions. An agent working that way can only use what's visible. A pop-up over the content, or tiny, faint text, leaves it less to work with, the same things that trouble people with low vision.

Plain, accessible HTML helps all three. That's the whole argument of this page.

Put the facts in text

Use the right element for the job

Label your forms

Quote and contact forms are where both people and agents most often get stuck. The W3C tutorial on labeling controls says to use the <label> element to tie text to each field, with the label's for attribute matching the field's id, so assistive technology can present the right label for each control.

<label for="phone">Phone number</label>
<input id="phone" name="phone" type="tel" autocomplete="tel">

Placeholder text inside the box ("Your phone...") is not a label; it disappears when someone types. Also:

Images: alt text that does a job

The W3C's alt decision tree gives the short version. If an image is decoration, use an empty alt="" so it's skipped. If it carries information, describe the information in a short phrase. If it's an image of text, put the text in the alt. A photo of your storefront might be alt="Storefront at 123 Main St with the blue awning"; a decorative swirl gets alt="".

Small things that cause big misses

How to check your own site

  1. View the source. Right-click the page and choose View Page Source. Use Find (Ctrl+F or Cmd+F) to search for your phone number, your hours and a price. If they're not in the source, a bot that doesn't run JavaScript won't see them.
  2. Use only the keyboard. Press Tab through the page. Can you reach every link, button and form field, and can you see where you are?
  3. Run the AgentReady check. The page check on the home page looks for a title, an H1, a meta description, share tags and valid JSON-LD in pasted source.
  4. Read the W3C's introduction to web accessibility if you want the fuller picture. It notes that accessibility also helps people on phones and other small screens, and that alt text makes images available to technologies that can't see them, such as search engines.

Sources

Checked October 2026.

Back to the AgentReady tool · The checklist

Start