R

RatedWithAI

WCAG guidance

Scan your site

WCAG 2.1

3.3.4 Error Prevention (Legal, Financial, Data)

Level AA success criterion

For web pages that cause legal commitments or financial transactions, that modify or delete user-controllable data, or that submit test responses, at least one of the following is true: submissions are reversible, data is checked for errors and the user can correct them, or a mechanism is available to review, confirm, and correct before finalizing.

Why it matters

Accidental submissions of financial, legal, or data-deletion actions can have serious consequences. Users with disabilities are more prone to input errors and need safeguards.

Common violations

  • One-click purchases with no confirmation step
  • Account deletion without confirmation dialog
  • Financial transfers with no review page
  • Legal agreements submitted without summary review

Code examples

Bad

<button onclick="processPayment()">Pay $500</button>
<!-- Immediate payment with no review or confirmation -->

Good

<h2>Review Your Order</h2>
<p>Total: $500</p>
<p>Shipping to: 123 Main St</p>
<button onclick="showConfirm()">Confirm and Pay</button>
<button onclick="editOrder()">Edit Order</button>

How to fix

Add confirmation steps before irreversible actions. Provide a review page for financial and legal submissions. Allow users to undo or reverse actions within a reasonable timeframe. Validate data and present errors before final submission.

Related criteria

Related resources

Scan your site

Check your WCAG coverage in minutes

Start a free scan