PROMPTPACKShop all kits
Website briefs and page improvements

Specify accessible form behaviour

A form brief should describe labels, errors and successful completion.

Start with the task and the source

Give an AI coding tool specific requirements and review the result one section at a time. Use the original record, approved brief or supplied specification as your starting point. The worked example below shows one way to organise the task; replace its assumptions only with information you have checked.

  1. Write down the input and the question you want to resolve.
  2. Separate confirmed facts from missing or ambiguous information.
  3. Follow the example with your own verified inputs, preserving units, scope and source references.
  4. Complete the review check before sending, publishing or acting on the result.
Fictional worked example

Work through the example

The starting point

A fictional quote form needs email, occasion date and order description. It currently uses placeholders as the only labels, and an error appears above the viewport after submission.

What to do

Specify persistent visible labels and field-specific messages. Keep entered values after an error, move focus to an understandable error summary and connect messages to the relevant controls. Confirm the real recipient or backend before claiming the submission is delivered.

What the result means

Test the complete flow with a keyboard and with invalid input. A form that looks correct in a screenshot still needs evidence that a valid submission reaches the intended system and that failure is recoverable.

Check before you use it

Test completion and error recovery using only a keyboard.

Keep the original source available so you can compare it with the draft. Leave unresolved questions visible rather than filling them with guessed facts. An AI-generated draft is an aid to review; it does not perform a payment, send a message, publish content or establish a professional conclusion.

Optional prompt to organise your draft

Replace the bracketed placeholders with fictional or anonymised information. Do not paste credentials, payment details, client records or confidential family documents. Use the prompt to prepare a draft, then check it against the method above.

Write requirements for a [contact or quote] form with [fields]. Define visible labels, required fields, validation messages, keyboard order, error focus and a success state. Ask which system receives the submission. Do not invent a working integration or call the form accessible without testing it.

Keep working on website briefs and page improvements

See all ten articles in this topic →