Skip to content

Can an AI agent use your website? A practical audit

Conceptual illustration of a glass web form with controls highlighted for auditing and a confirmation symbol.

Series II: From infrastructure to agentic projects in production. Episode 17 out of 20.

A website can look good and still leave it unclear what needs to be clicked, which information is mandatory, or whether a request was registered. For a small or medium-sized business, preparing for agents starts with clearing up these ambiguities, not by simply adding a chatbot. The main decision: audit a real user journey—from intent to a verifiable outcome—before evaluating the entire website.

We continue with the fictional B2B portal for requests and documents. In the previous episode, we defined actions via the API, the interface through which programs communicate. Now we are checking the web interface. The proposed scenario does not describe an audit done for a client and does not assume that all tools see the page identically.

Three different questions

Accessibility tracks how people with disabilities use the website, including through assistive technologies. Indexability refers to the potential for a page to be included in a search index. 'Agentic readiness' here refers to practical preparedness for interactions carried out by software agents, under specified conditions and with specified tools. We don't treat it as a universal certification.

All three overlap, but they are not equivalent. An indexed page doesn’t guarantee a usable form. Accessible labels help identify controls, but don’t guarantee an agent’s success. A confidential document must remain protected even if it therefore isn't publicly indexable.

We also separate roles: the development agent modifies and tests code; the agent integrated into the portal might summarize documents; an authorized external assistant may try to operate the interface on behalf of the user. The audit doesn’t automatically grant them the same permissions.

Start with a real user journey in a controlled environment

In our scenario, a company representative finds the service, reads the terms, logs in, attaches a test document, and submits a request. The expected result is for the request to appear in the correct company account, with clear identifier and status.

Run tests outside the production environment, using an authorized account and synthetic data. Avoid client documents and notifications to actual recipients. Record the app version, language, account role, browser, window size, and tool used. Otherwise, two attempts that seem to contradict each other might have had different conditions.

Test the journey on both desktop and mobile. A consent banner or sticky header might cover the send button in a specific setup. This is a test observation, not a statement about every website.

What information does the tool receive?

HTML is the language of a page’s structure. Rendering combines structure, styles, and possibly JavaScript to produce the displayed interface. The DOM is the browser’s structured representation of the document; the accessibility tree exposes information like name, role, and state of controls to assistive technologies.

A tool may use the screenshot, the page structure, or a combination. Check what’s actually available—don’t assume the agent reads everything a person sees. Compare the initial HTML response to the loaded page: at interaction time, are the service terms, the price if any, and the main action available?

Google documents how JavaScript is processed for Google Search. This does not reflect all agents’ behavior. Content dependent on user interaction or on additional loading must be checked with your chosen tool. Keep important terms readable in text, not only within an image or in an element visible only on hover.

Structure and forms without guesswork

Semantic HTML uses elements appropriate to their function: headings for information hierarchy, links for navigation, buttons for actions. W3C WAI recommendations support a clear page structure. In the portal, 'Submit request' is clearer than 'Continue' if the action actually finalizes the request.

Each field must have a clear label, programmatically associated with its control—not just nearby text. Specify required fields, accepted formats, and file limits before submission. Instructions like 'Supporting document, PDF' are more helpful than a pictogram without explanation.

Try navigating with a keyboard and check the focus order—that is, which element receives commands. An improvement for humans can also reduce automation ambiguity, but accessibility testing remains distinct from agent testing. Don't hide essential information just to simplify the visual layout.

Observable states and demonstrable outcomes

The journey also needs checking when things go wrong: file rejected, session expired, or connection interrupted. The message must indicate what happened and what the user can do next. For a form error, identify the field and the required correction, without exposing sensitive information in messages or logs.

WCAG 2.2 explains programmatic identification of status messages for assistive technologies, when such messages appear without shifting focus. This is a relevant accessibility requirement, not a guarantee that any agent will interpret the message correctly.

In the proposed scenario, request registration is verified by identifier, status, and presence in the account. A clicked button or a green indicator alone does not prove the operation succeeded. If the result is unclear, don’t encourage blind resubmission: use safe retry mechanisms as discussed in the API episode.

Practical audit checklist

Use the following checklist as a working proposal, not a report on an already audited site. For each row, add your observation, evidence, responsible party, and verdict: accepted, issue, or untested.

First prioritize access to another company’s data, lost requests, and ambiguous confirmations. Next, fix completion and orientation barriers. If the deterministic test succeeds but the agent fails, investigate instructions and tooling before changing the website. If both fail at the same point, you have a reproducible issue to analyze. Attach screenshots and relevant extracts only after removing sensitive data. Repeat verification after fixes and keep observations separate from interpretations.

Check

What we’re checking

Expected evidence

Finding the service

Clear name and terms

Available text and reproducible path

Completion

Labels, instructions, keyboard

Identifiable fields with no guesswork

Error

Unaccepted file

Explanation and possibility of correction

Submission

Loading and confirmation

Verifiable identifier and status

Protection

Authorized account and company

Access allowed only to approved data

Automatic test, then attempt with agent

A deterministic automated test performs defined steps and explicit checks. Playwright allows identification of elements by role and label and checks certain conditions before actions. Waiting for an observable outcome is more robust than an arbitrarily chosen fixed pause. These features do not replace an accessibility audit or result verification in the app.

Then run the journey with the selected agent, recording the model, tool version, and instructions. The WebArena research, published at ICLR 2024, uses functional correctness evaluation for web tasks. We adopt the idea of a verifiable outcome, not historical scores as predictions for our portal.

Do not disable multi-factor authentication or anti-abuse controls just to get a passing test. When human intervention is needed, record the handover point. The useful result is a prioritized list of blockers and evidence, not a made-up readiness percentage. The next episode distinguishes this operational capability from content finding and quoting via AI systems.

Sources

Documentation verified as of October 18, 2026. Portal examples are hypothetical; the 2024 research is a methodological benchmark, not a current product comparison.

Check important journeys on the website

Want to check an important journey on your company’s website? Talk to i8 about a web audit with clear results and priorities.