Explain the situation plainly

An error message should tell visitors what happened in language they can understand. Avoid internal codes, vague statements or blame. If a technical detail is not useful for the visitor, keep it in diagnostic logs rather than displaying it as the main message.

Give a practical next step

Whenever possible, explain what the visitor can do next. A message about an invalid email address can show the expected format; a failed upload can explain accepted file types and size limits. Do not tell people to retry indefinitely when the underlying problem is unlikely to resolve by itself.

Put the message near the problem

For form errors, place guidance close to the affected field and provide a summary when several fields need attention. For a page-level failure, place the message where visitors will encounter it before attempting the task again. Keep the original input when it is safe and useful to do so.

Use a respectful tone

Describe the problem without suggesting that the visitor caused it through carelessness. Short, calm language is usually more helpful than jokes or overly technical explanations. Keep the tone consistent with the rest of the service.

Make errors accessible

Do not rely on red colour alone. Include text, identify the affected control and ensure assistive technologies can detect dynamic status changes. Preserve visible keyboard focus and make error links or controls reachable without a mouse.

Distinguish recoverable and unrecoverable problems

Some errors can be corrected immediately, while others require support or a later attempt. Explain whether the visitor can edit an entry, refresh safely, choose another file or contact the organisation. Avoid offering a retry action when it could duplicate a payment or submission.

Test messages in context

Read the message as if you have never seen the interface. Ask someone unfamiliar with the product to explain what happened and what they would do next. Test long translations, small screens and screen-reader announcements, not just the default desktop layout.

Create a consistent error pattern

Document wording, placement, severity and interaction rules for common error types. Reuse patterns across forms, search, uploads and account flows while adapting the actual explanation to the situation. Consistency helps visitors learn how the service communicates problems.

Conclusion

Good error messages reduce uncertainty and help visitors continue. Explain what happened, give a safe next step and make the message understandable across devices and assistive technologies.

]]