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.
- 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.
- 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. - 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
- No hours or prices inside images. A flyer graphic with your hours on it looks fine and says nothing to a text reader. The W3C's guidance on images says that when an image contains text that isn't elsewhere on the page, the alt text has to carry that text. Easier still: put it on the page as text.
- Menus and price lists as HTML, not only PDF. A PDF link is fine as an extra. Keep the main version on a normal page.
- Address and phone in the page body or footer, as text, on every page. Make the phone number a link:
<a href="tel:+15555550100">. That works for people on phones and gives software an unambiguous number. - Write the answer in the HTML, not behind a click. Content hidden behind "Read more" buttons that load it with a script is at risk of not being there for a bot that fetches the page once.
Use the right element for the job
- One
<h1>that says what the page is, then<h2>and<h3>for sections, in order. Headings are how screen reader users skim, and they give any parser the outline of your page. - Real links. Google's JavaScript SEO guide says Google can only discover links that are
<a>elements with anhrefattribute. A clickable<span>that changes the page with a script isn't a link to a crawler. - Real buttons. Use
<button>for actions. It's focusable with a keyboard and announced as a button without extra work. - Lists as lists, tables as tables. A list of services in a
<ul>is understood as a list. A price table in a<table>keeps each price next to its service.
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:
- Say what's required in the label text, not just with a red asterisk.
- Use the matching
type(email,tel,date) so phones show the right keyboard. - Show error messages as text next to the field, saying what to fix.
- Avoid making the form the only way to reach you. A phone number and email in plain text are a fallback for everyone.
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
- Pop-ups on page load. A newsletter or cookie overlay covering the content blocks a screenshot-based agent as surely as it annoys a customer. If you need a consent banner, keep it small and out of the way of the main content.
- Text too small or too faint. Low contrast hurts people with low vision and makes screenshots harder to read.
- Everything in one giant image slider. Put the key message in a heading.
- Login walls on basic info. Prices and hours behind an account sign-in are invisible to anyone who isn't signed in, which includes every bot.
How to check your own site
- 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.
- 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?
- 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.
- 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
- Google Search Central: Understand JavaScript SEO basics
- OpenAI: Overview of OpenAI crawlers
- Anthropic: crawler help article
- Perplexity: Perplexity crawlers
- Microsoft Playwright MCP (GitHub README)
- Anthropic: Computer use tool
- W3C WAI: Labeling Controls
- W3C WAI: An alt Decision Tree
- MDN: Accessibility tree
- W3C WAI: Introduction to Web Accessibility
Checked October 2026.