Concept 18 of 26· Interaction design
  1. 1Interaction design
  2. 2Affordances
  3. 3Signifiers
  4. 4Mapping
  5. 5Discoverability
  6. 6Feedforward
  7. 7Feedback
  8. 8Microinteractions
  9. 9Norman's seven stages of action
  10. 10Gulfs of execution and evaluation
  11. 11Response time limits
  12. 12Optimistic UI
  13. 13Interface states
  14. 14Error prevention
  15. 15Forcing function
  16. 16Friction
  17. 17Slips and mistakes
  18. 18Error messages
  19. 19Progressive disclosure
  20. 20Form design
  21. 21Inline validation
  22. 22Gestures
  23. 23Pull to refresh
  24. 24Drag and drop
  25. 25Thumb zone
  26. 26Skeuomorphism

Share this card

Error messages

Messages that tell people something has gone wrong, what exactly the problem is, and how to fix it.

Also called error recovery

Example

Instead of 'Invalid input', a payment form says 'The expiry date must be in the future' next to the expiry field, and keeps the card number already typed.

Error messages tell people what has gone wrong and how to fix it. Instead of ‘Invalid input’ and an emptied form, this one says ‘The expiry date must be in the future’ next to the field. The card number already typed is kept.

When to use it

Put the message next to the problem, describe it in plain words, suggest a fix, avoid blaming words like 'invalid', and keep what people already typed. Don't rely on colour alone.

The evidence 6 sourced claims

Every sentence on this card traces back to one of these claims, each linked to its source. How we research

  1. WCAG 2.2 (level A) says that when an input error is detected automatically, the field with the problem must be pointed out and the error described in text. Colour can be used, but not on its own, and the standard does not fix where the message goes (next to the field, at the top, or in a dialog).

  2. WCAG 2.2 (level AA) says that if a fix for an input error is known, the page should suggest it, unless that would weaken security or the purpose of the content. For example, if someone types '12' where a month name is needed, the page can list the month names or ask if they meant December.

  3. Nielsen's ninth heuristic says error messages should use plain language with no error codes, say exactly what the problem is, and suggest a way to fix it.

  4. Good error messages sit next to the thing that caused the problem, are easy to notice without relying on colour alone, describe the specific problem in plain words, suggest a next step, keep a neutral tone without blaming words like 'invalid', and keep what the person already typed so they can edit it instead of starting again.

  5. The UK government's design system shows each error next to its field and also lists all errors in a summary at the top of the page. Messages should say what happened and how to fix it, reuse words from the question, and be specific (for example 'Enter your name' rather than 'This field is required'), avoiding words such as 'invalid', 'oops', 'please' and 'sorry'.

  6. Five early studies of compiler and text-editor error messages found that making messages more specific, more positive in tone and clearer helped people fix their errors more often and made them more satisfied.

Last checked 3 Nov 2026

Popular searches

Cookie settings

Choose which optional cookies SimplyUX can use. Your choice is saved in this browser. Privacy policy