The short version

Test an AI-generated form as a complete task, including errors and recovery, rather than judging its initial appearance. Combine automated scans with keyboard and assistive-technology assessment. Start with one important customer journey, record the states covered and fix blocking issues before expanding the feature to more users.

The idea of this article, drafted in 18 seconds. Tap the speaker for sound.

Start with a customer task

Illustrative example: an AI coding agent builds a service-request form for an existing operations system. The first screen looks polished, but the customer must also choose a service, correct invalid input, review details and understand whether the request was accepted. Each transition is part of the product.

Write acceptance criteria around that journey before requesting more styling. Define what users must perceive and operate at every step. Keep the existing working path available while the replacement is assessed. A small team gains more from completing one usable flow than from generating several unfinished screens.

Accessibility testing tools inspect a particular state

Playwright documents integrating axe through @axe-core/playwright. Its scan examines the page's current state, so tests must open conditional content before analyzing it. A scan of the initial form does not establish coverage of a dialog or an error shown later.

For the illustrative form, capture checks after opening the review dialog, after rejected input and after confirmed success. Record the browser, build and state alongside results. Keep automated findings in the release checks, but do not label a passing scan as a complete accessibility assessment. W3C explicitly notes that no tool alone can determine accessibility conformance.

Make correction and completion understandable

W3C's forms guidance recommends clear feedback about both errors and success, with instructions that help users correct mistakes. Apply this to the actual business outcome: distinguish a request being processed from one the backend has accepted. A green animation alone does not show that the request is complete.

In the illustrative flow, check whether a person using only a keyboard can reach each control, see where focus is and return from the review dialog. Assess whether a screen-reader user can identify fields, understand the reported error and find the correction. Verify that entered information remains available when recovery is appropriate.

Check the supported languages separately. A Hebrew layout can change visual placement without fixing an illogical interaction order. Include long error text, zoomed content and a narrow viewport in the assessment plan. These are proposed checks, not claims that this or any customer system has passed them.

Give AI a bounded repair task

When a failure appears, give the coding agent the exact state, expected interaction and observed problem. Ask for a focused fix that preserves the submission and permission rules. Review changes to shared controls because one adjustment can affect several forms.

Recheck the failing interaction and the successful submission path. Avoid suppressing a finding merely to make the report green. If a known issue remains, document its impact, owner and next action. Plan manual assessment and inclusive user testing as part of delivery, rather than claiming automation replaces them.

Keep the capability maintainable

Budget for evaluation and retesting as well as initial generation. Track blocked tasks, repeated assistance and unresolved findings instead of reporting only how many screens were built. A limited pilot can expose problems but cannot prove every user journey is accessible.

UVISION supplies dedicated developers and managed projects with at least one full-time developer. That ongoing ownership supports the move from an AI-built MVP to maintained software and gradual improvement of critical legacy interfaces. Start with one complete journey, preserve its checks and extend coverage as the product evolves.

Common questions

What is accessibility testing?

Accessibility testing evaluates whether people with different access needs can perceive and operate a product. For a generated form, assess the complete task, including errors, correction and success. Automated scans provide useful findings, while keyboard, assistive-technology and user assessment cover important behavior that a passing scan alone does not establish.

Why is accessibility testing important?

A polished form can still prevent a customer from completing a request. Testing the full journey exposes problems in controls, error recovery and confirmation before they become routine support work. For an AI-built MVP, start with one important flow and preserve its checks across changes rather than treating its first visual review as sufficient evidence.

How do you automate accessibility testing?

Playwright documents using axe to scan the current page state. Reach the relevant states before scanning, such as an open dialog or a displayed error, and keep results tied to the tested build. Use automated findings within release checks while separately planning manual and user assessment. Automation supports evaluation but does not establish complete conformance.

Further reading

Want to explore what this means for your systems?

Explore the relevant service