- When displaying an error, make it obvious so your visitor could quickly see it. An effective approach is to contrast the color of the text (e.g. red against white) or boxed it with red lines.
- Don’t use all caps when displaying error messages because this gives an impression that you’re screaming at your visitors.
- Do not rely on out-of-the-box messages from your development tools such as your database server and programming language. Remember, these messages contain technical information that are not helpful to your visitors. Catch these kind of messages and tailor them to your target audience.
- When an error occurs, allow your visitors to bounce back by providing possible solutions to their problem. For example, if the username and password do not match, tell the user what could be the source of the problem and provide a link to a password recovery page.