Error Prevention, Validation, and Recovery
Difficulty: Beginner
Category:
- Content
- Presentation
Form error prevention, validation, and recovery techniques can have a significant impact on site usability and accessibility. Forms should be easy to understand, complete, and submit. If there are problems with a form submission (e.g., the user did not complete a required form field), you should:
- Alert the user to the presence of the error in an apparent and accessible manner
- Allow the user to easily access the form elements that need to be modified
- Allow resubmission and revalidation of the form