UX/UI Design: Foundations to Practice · Interaction Design
Error Prevention and Recovery
The most effective way to handle a user error is preventing it from happening in the first place, and when prevention genuinely is not possible, making recovery from that error as painless as the initial mistake itself was easy to make.
A design that structurally prevents a specific error from occurring at all, disabling a button until a required field is genuinely filled in correctly, or asking for confirmation before an irreversible action, is more valuable than even a well-written error message explaining that same mistake after it has already happened, since prevention eliminates the entire cost of the error, the person's frustration, the time lost, the potential data lost, rather than merely explaining that cost clearly after it has already been fully incurred.
- Preventing an error structurally is more valuable than explaining it well afterward, since prevention eliminates the entire cost rather than merely explaining it after it's incurred.
- Irreversible actions warrant a deliberate confirmation step, since the asymmetry between a large accidental cost and small added friction justifies this specific extra step.
- An effective error message states plainly what happened in the person's own language and what action they can take, treating it as a recovery tool, not just a technical report.
- Discarding a person's already-entered information after an error compounds the original frustration; preserving that work reduces the real cost of recovery.