Error Prevention
UX DesignWhat is Error Prevention
Error prevention is the practice of designing an interface so users are less likely to make errors in the first place. It is the fifth of Jakob Nielsen's 10 usability heuristics: good error messages matter, but the best designs prevent problems from happening.
Types of user errors
Don Norman describes two kinds of errors:
- Slips: unconscious errors caused by inattention, like tapping the wrong button
- Mistakes: conscious errors caused by a mismatch between the user's mental model and the design
How to prevent errors
- Prevent slips with constraints, good defaults, suggestions and flexible input formats
- Prevent mistakes by removing memory burdens, supporting undo and warning users
- Confirm risky actions: check for error-prone conditions and ask users to confirm before they commit
Why Error Prevention matters
People should not be blamed for errors caused by poorly designed systems. In January 2018, a false missile alert was sent to people in Hawaii. NN/g used it as a case study in how interface design can make a serious error easy to make.
Frequently asked questions
What is the difference between slips and mistakes?
A slip is an unconscious error caused by inattention, such as a typo. A mistake is a conscious error that happens when the user's mental model does not match the design, so they choose the wrong action on purpose.
Which usability heuristic covers error prevention?
Heuristic 5 of Jakob Nielsen's 10 usability heuristics. It says the best designs prevent problems in the first place, rather than relying on good error messages.
What are examples of error prevention?
Constraints that block invalid input, good defaults, suggestions while typing, undo, and a confirmation step before a destructive or important action.
Related terms
View all UX Design terms →Unhappy Path
An unhappy path is any flow where something does not go as expected . It is the opposite of the happy path. It is also called a sad path…
Postel's Law
Postel's Law says: "Be liberal in what you accept, and conservative in what you send." It is also called the Robustness Principle. Jon…
Mental Model
A Mental Model is an individual's internal representation of how something works in the real world. In UX design, it refers to how users…
Modal
A Modal (also known as modal window or dialog box) is a secondary window that appears on top of the main interface, temporarily…
Input Field
An input field, or text field, is a box where users type information , such as a name, email address or password. It is the most common…
