New Tool Radar

AI Design Workflows

How to Check Error Prevention in an AI-Designed Form

Before an AI-designed order form sends a payment, check that the reader can review the order, correct it, or cancel it afterwards.

Schematic diagram: three steps to check error prevention — review before sending, check the entries, offer a way back — with a practice result of 3 of 5 safeguards passing and 2 failing.

Before an AI-designed order form sends a payment, check that the reader can review the order, correct it, or cancel it afterwards. Walk through the form as a customer, make a mistake on purpose, and see whether the form catches it or lets it through. Two safeguards on the practice form fail: a quantity of 22 is accepted without a warning, and deleting a saved address runs at once with no confirmation.

The W3C page for error prevention states that for pages causing legal commitments or financial transactions, at least one of three safeguards must be true: “Reversible: Submissions are reversible. Checked: Data entered by the user is checked for input errors and the user is provided an opportunity to correct them. Confirmed: A mechanism is available for reviewing, confirming, and correcting information before finalizing the submission.” Its intent is to “help users with disabilities avoid serious consequences as the result of a mistake when performing an action that cannot be reversed.” This check is about review and confirm steps, not error messages.

Schematic diagram: three steps to check error prevention — review before sending, check the entries, offer a way back — with a practice result of 3 of 5 safeguards passing and 2 failing.

What counts as passing

Success Criterion 3.3.4 Error Prevention (Legal, Financial, Data) applies to pages that cause a legal commitment or a financial transaction, that modify or delete user-controllable data, or that submit test responses. For those pages, at least one of three safeguards must be true: submissions are reversible, the data is checked and the reader is given a chance to correct it, or a mechanism is available for reviewing, confirming, and correcting information before finalizing the submission. One safeguard is enough; this guide checks which of the three each step of the form offers.

The W3C example is an order confirmation: “When an order is submitted, the order information — including items ordered, quantity of each ordered item, shipping address, and payment method — are displayed so that the user can inspect the order for correctness. The user can either confirm the order or make changes.” A form that sends a payment the moment the button is clicked, with no review screen, no check, and no way back, has none of the three safeguards.

The practice design and the check table

Use a fictional catering order form for the exercise. The fictional brand is Maple Corner, a small cafe at 12 Maple Lane that does not exist. Five safeguards were checked on its order form, and each row below is one safeguard as supplied. Nothing in the table comes from a real client form.

How the table was worked out

Each safeguard was judged on whether the form offers one of the three W3C safeguards — reversible, checked, or confirmed — for that step. A safeguard passes when the reader can catch or undo a mistake before it costs them. A safeguard fails when a mistake goes straight through with no review, no check, and no way back.

Step in the form Safeguard offered Result
Review screen before “Place order” Shows items, quantities, address, and payment; reader can correct before finalizing Pass — confirmed: the reader reviews and corrects before the order is final.
Quantity field, typed as 22 instead of 2 None: the order is placed as typed Fail — no check warns the reader and no chance to correct is offered.
Cancel after placing the order Order can be cancelled within 30 minutes Pass — reversible: the submission can be undone in the stated time.
“Delete address” for a saved address None: the address is deleted at once Fail — no confirmation is requested before the saved address is gone.
Terms checkbox beside “Place order” “I agree to the catering terms” must be ticked before the order sends Pass — a checkbox in addition to a submit button, one of the W3C techniques for a legal transaction.

Read the table row by row. Three safeguards pass and two fail. The quantity fails because a mistyped 22 is accepted and charged with no warning. The delete fails because a saved address vanishes the moment the button is clicked, with no confirmation step.

How to fix a failing row

Check the entries before they send

Add a check on quantity — flag 22 when the menu sells by the dozen, and let the reader correct it. A check that finds nothing is still a safeguard.

Ask before deleting

Put a confirmation step in front of “Delete address”, so the reader confirms the action before the saved address is gone. Deleting user-controllable data is one of the cases the W3C rule covers.

Keep the review screen and the way back

Keep the review screen that shows items, quantities, address, and payment before “Place order”, and keep the 30-minute cancellation window. Either one alone would satisfy the rule; both together leave less room for a costly mistake.

Limits

The check covers only the three W3C safeguards — reversible, checked, confirmed — on this practice order form. It does not cover error messages after a mistake, which are covered by Success Criteria 3.3.1 and 3.3.3, and it does not cover simple saves or edits, which the W3C page says the rule is not meant to require a confirmation for. The five safeguards apply only to this practice form. Expected result. We checked the W3C Understanding page for Success Criterion 3.3.4. We did not submit the Maple Corner order form.

Sources

See all