Reduce the risk of all input errors
All users make mistakes when inputting data (for example, into forms and checkouts). Aim to prevent these errors occurring, but make it easy for users to correct errors as they occur.
Users can make costly mistakes if they don’t fully understand the implications of their actions or can’t rectify their errors. Error prevention is all about reducing risk to your users.
What to do
To pass this guideline, you need to make sure that:
- All data input submissions are reversible; or
- All data input submissions are checked for input errors and the user is given a chance to correct any mistakes; or
- Add a confirmation page to the data input submission process that summarises the input and the outcome, with an option to correct or discontinue. This page has an input field (for example, a confirm button or checkbox) that acts as confirmation of the submission.
- This guideline expands on Guideline 3.3.4.
- This guideline applies to deletion of data as well as submission.
- Although each technique alone is enough to pass this guideline, add as many of the techniques to your process as possible.
- Provide a confirmation webpage that gives the user a chance to read a summary of everything they have input, and positively confirm their actions (especially if inputs were spread over several pages in the process).
- Validate forms inline and add error messages if input is incorrect. Be specific in explaining how to fix mistakes.
- Guideline 3.3.4 – Error Prevention (Legal, Financial, Data)
- Understanding Success Criterion 3.3.6 (W3C)
Free Developer Resources
Join over 3,500 subscribers on my weekly web accessibility email and get free developer resources like WCAG 2.1 Checklists and special offers.
Over 600 developers like you have learned more about the Web Content Accessibility Guidelines with my guidebook.