Skip to main content
An agent-ready app is one whose buttons, links, fields and menus have plain names that the HelpAlive agent can read. Each name is the control’s visible text, or its accessible name for screen readers. This page is for developers and designers who want the agent to work well in their app. There is nothing extra to install or tag. The same habits that help screen-reader users help the agent.

What the agent needs from your page

The agent works with your page as your users see it. It reads the page’s structure, never screenshots, so it needs what a person using a screen reader needs:
  • A name for every control. A control’s name is its visible text, or its accessible name from a <label>, aria-label, aria-labelledby, alt or title.
  • Controls that say what they are. Native elements tell the agent what a control does and what state it is in. For controls you build yourself, add the right role and states, such as checked, selected or expanded.
  • Messages shown as text. Errors and notices written near the field tell the agent what went wrong, as they tell your users.
You add no data attributes, selectors or ids to the elements in your pages. The agent works with the page as your users see it. The WAI-ARIA Authoring Practices and MDN’s accessible name guide describe the same habits in full.

Prerequisites

How to make your app agent-ready

1

Give every control a name

An icon-only button needs a name a screen reader would announce. Add aria-label, or visually hidden text.
2

Tie each field to its label

Use <label for>, or wrap the field in its label. A placeholder alone is not enough. It disappears once the user types.
3

Use plain, distinct words

Write “Invite teammate”, not “Go”. When a list repeats the same button on every row, the row’s own text tells them apart.
4

Use native elements or the right role

A <button>, <select> or <input type="checkbox"> says what it is. If you build your own, give it the matching role and states, as accessible component libraries already do.
5

Show errors as text

Write validation errors as text near the field, or link them with aria-describedby. The agent reads them, as a user would.

What the agent can’t read

Will it work with my app? lists what the agent can’t read, and the steps it always hands back to the user.

Check it works

  1. Run your browser’s accessibility checker, or a tool such as Lighthouse, on a page with many controls. Fix controls flagged as having no name.
  2. Open the agent in your app and ask it to do a task on that page. Watch where it hands back to you.

Why does the agent stop and ask the user to take over?

It reached a control it couldn’t name or read. Find the step where it stopped, and give that control a visible label or an aria-label.

Why does the agent pick the wrong one of several similar buttons?

The buttons share a name. Make each name specific, for example “Edit billing address” and “Edit shipping address”.

Next

How it works

From the question to the task.

Assists

Does the steps, or shows how.

Safety and hand-backs

What it always hands back.
Last modified on November 25, 2026