Skip to content
easeweb
Search topics

Checkouts that take payment with no review or undo

A booking form charges a saved card the moment Pay is pressed, for tickets that can't be refunded, so a wrong date or count can't be checked or undone.

WCAG 2.2
SC 3.3.4AA
Required by
Section 508 · EN 301 549 (EU)
Broken
The accessibility problem illustrated: Reach, strength:I wanted 1 ticket. How do I undo this?
01

The problem

People who slip when they type, tap or speak pay for tickets they didn't mean to buy, with no chance to see the mistake first or take it back after

02

Try it

Book 1 ticket for Friday, but let your hand slip: set Tickets to 2. Then pay

Does anything show you the slip before the money goes, or let you take it back after?

Broken Can you fix this?

BrokenPay now charges the card at once

Book tickets

Paid with your saved card ending 4242. Tickets can't be refunded or exchanged.

A recreated demo. The broken version is intentionally inaccessible.

03

The fix

Let people check the order first, or cancel it after

Before
BrokenPay now charges the card at once
<form method="post" action="/book">  <label for="night">Performance</label>  <select id="night" name="night">    <option>Friday 13 November, 7:30 pm</option>    <option>Saturday 14 November, 7:30 pm</option>  </select>  <label for="tickets">Tickets ($24 each)</label>  <input id="tickets" name="tickets" type="number" value="1">  <p>Paid with your saved card ending 4242. Tickets can't be refunded or exchanged.</p>  <button type="submit">Pay now</button></form>
What is wrong4 points
  • The wrong number of tickets is charged at once. The server charges the saved card and issues the tickets as soon as the form arrives.
  • The slip goes unnoticed before paying. Nothing reads the choices back.
  • Nothing prompts a second look. No step and no box asks for confirmation.
  • The booking can't be taken back. Nothing can be cancelled, so one press is final.
After

A step to check the booking before paying

<!-- Step 1: the same form, but Continue only saves the choices --><form method="post" action="/book/review">  <label for="night">Performance</label>  <select id="night" name="night">    <option>Friday 13 November, 7:30 pm</option>    <option>Saturday 14 November, 7:30 pm</option>  </select>  <label for="tickets">Tickets ($24 each)</label>  <input id="tickets" name="tickets" type="number" value="1">  <p>Paid with your saved card ending 4242. Tickets can't be refunded or exchanged.</p>  <button type="submit">Continue</button></form>
How it is fixed5 steps
  1. Make Continue save the choices without charging anything.
  2. On the next page, read them back in words, with the total.
  3. Give each a Change link that goes back to its field with every answer kept, so fixing the slip takes one change, not a new booking.
  4. Charge the card only from "Confirm and pay $48", whose name says how much.
  5. Say which step this is in the heading and the page's title, so screen reader users know they have arrived at the check, not at a confirmation.

This fixes the Before and passes 3.3.4.

04

Verify the fix

5 checks, no mouse.

Test with: Keyboard, Screen reader, Zoom, Touch

0 of 5 checked

Record the OS, browser and assistive-technology versions, the build, the date, and the actual result of each step. Repeat after the checkout's steps or its payment provider change.

How screen readers handle aria-describedby

Limits

This is a starting pattern, not a guarantee for every process. The example is a ticket booking; shops, subscriptions, loans, applications and tests need the same check at the step that commits. 3.3.4 doesn't ask for a confirmation every time someone saves or edits their own data, only where a mistake would be costly or hard to undo. Every other form, such as a blog comment, is covered at AAA by 3.3.6: see comment forms that post with no preview, edit or delete. Test the complete process, including the emails it sends, with the people and tools your users rely on.

This is a recreated teaching example, not a finding about a named client. The code is a starting pattern: test it in your own product. No completed assistive-technology test is claimed here.

EaseWeb service

Fixed it? Keep it from coming back.

I turn guides like this one into rules your coding agents follow and checks your CI runs. Then I retest by hand with a keyboard and screen readers, periodically.

See the service