Error-Message Guidelines (2024)

Summary: Design effective error messages by ensuring they are highly visible, provide constructive communication, and respect user effort.

Over 30 years ago, Jakob Nielsen created 10 Usability Heuristics as general guidelines for designing digital products. These heuristics equally apply today as they did back then. Usability heuristic #9 emphasizes the importance of good error-message design: "Help Users Recognize, Diagnose, and Recover from Errors." Effectively handling errors is crucial because it's one of the 5 quality components of usable experiences.

Error message: A system-generated interruption to the user's workflow that informs the user of an incomplete, incompatible, or undesirable situation according to the system's implementation.

Quality and error messages rarely go together, though. Product teams can be so focused on designing or engineering the idealistic user path that deviations from that path become a frustrating afterthought.

In This Article:

  • Visibility Guidelines
  • Communication Guidelines
  • Efficiency Guidelines
  • Mitigate Failure with Novelty in Dire Situations
  • Conclusion

Visibility Guidelines

Error messages must present themselves noticeably and recognizably to users.

Display the error message close to the error's source. Reduce cognitive load by displaying an error indicator adjacent to the interface where the error occurred. Proximity helps users associate the error message content with the interface elements needing attention.

Error-Message Guidelines (1)

Use noticeable, redundant, and accessible indicators. Text and highlights that are bold, high-contrast, and red are conventional error-message visuals. Use this styling for the message and for the affected elements needing correction. Another technique for improving noticeability is leveraging carefully designed animations to guide the user's visual attention for corrections. Remember accessibility guidelines to aid the roughly 350 million people worldwide with a color-vision deficiency, and never use exclusively color or animation to indicate errors.

Error-Message Guidelines (2)

Design errors based on their impact. Design your error messages to indicate the problem's severity. For example, sometimes users only need to be warned of unexpected or potentially undesirable outcomes but can otherwise advance their workflow. Differentiate between these "good to know" messages from those posing a barrier to the user's progress. For example, conditionally displayed labels, toast notifications, or banners can be used for issues needing minimal user interaction, whereas modal dialogs require the user's attention and resolution and should be reserved for severe errors.

Error-Message Guidelines (3)

Avoid prematurely displaying errors. Timing is a crucial aspect of designing effective error messages. Presenting errors too early is a hostile pattern. It’s like grading a test before the student has had a chance to answer. It can make users feel annoyed, belittled, or confused. Don't assume that exploratory interactions (like the user moving text focus from a text box without filling it in) are errors. However, do consider inline, real-time errors for error-prone interactions where users are unlikely to enter the correct information on their first try. This immediate guidance reduces interaction costs for correction.

Error-Message Guidelines (4)
Error-Message Guidelines (5)

Communication Guidelines

Error messages cannot rely on visuals alone. They must contain copy to elaborate and assist the user with recovering from the error.

Use human-readable language. Error messages should be plainspoken using legible and readable text (many writing apps can give you feedback on a message's readability). Avoid technical jargon and use language familiar to your users instead. The Web's most common error message, the 404 page, violates this guideline. Hide or minimize the use of obscure error codes or abbreviations; show them for technical diagnostic purposes only.

Concisely and precisely describe the issue. Generic messages such as An error occurred lack context. Provide descriptions of the exact problems to help users understand what happened. That said, beware of excessive technical precision and accuracy that can undermine understandability. The user's mental model of how the system works likely differs from the conceptual model of how it was coded.

Error-Message Guidelines (6)

Offer constructive advice. Merely stating the problem is also not enough; offer some potential remedies. One example is an Out of stock message for an ecommerce website. Include details of when the product will be available again or suggest that users sign up for a restock notification by entering their emails.

Take a positive tone and don't blame the user. Write with a positive and nonjudgmental tone of voice. Don't use phrasing that blames users or implies they are doing something wrong, such as invalid, illegal, or incorrect. The proper usage of any system lies with its creators and not with the system's users, so the system must gracefully adapt and not shift blame. Avoid humor since it can become stale if users encounter the error frequently.

Error-Message Guidelines (7)
Error-Message Guidelines (8)

Efficiency Guidelines

Good errors go beyond just explaining but protect the user's effort and time. Offer accelerators to resolve the situation or share a bit of instruction to aid users' understanding and hopefully avoid the problem in the future.

Safeguard against likely mistakes. The very worst error messages are those that don't exist. When users make a mistake and receive no feedback, it can create a cascade of misunderstanding, wasted effort, and frustration. Years ago, email apps would dutifully send your email even though it referred to an attachment you forgot to include. Now, most apps will detect this situation and prompt you with an error message before sending it, thus sparing you embarrassment.

Error-Message Guidelines (9)

Preserve the user's input. Let users correct errors by editing their original action instead of starting over. For example, display the original text entered into a text field even if it does not match the requirements for that field and allow the user to modify it.

Error-Message Guidelines (10)

Reduce error-correction effort. If possible, guess the correct action and let users pick it from a small list of fixes. For example, instead of just saying City and ZIP code don't match, let users click on a button for the city that matches the ZIP code they entered.

Concisely educate on how the system works. Explain to your users how the system works and how to resolve an error. If additional information is required, use hypertext links to connect a concise error message to a page with supplementary material or an explanation of the problem. (Don't overdo this, though.)

Error-Message Guidelines (11)
Error-Message Guidelines (12)

Mitigate Failure with Novelty in Dire Situations

The above guidelines are essential and applicable to all error messages. That said, there is one last guideline to consider when the system becomes incapable of serving users in any functional capacity:

Mitigate total failure with novelty. Errors are unenjoyable for everyone involved as they interfere with user and business goals. Yet sometimes users may encounter an error so catastrophic (e.g., overloaded servers) there is no recourse but to wait or try again later. It's these specific moments (which should be rare and avoided at all costs) where blending an apology with something surprising or novel may salvage a disappointing situation that users will likely remember due to negativity bias and the peak-end rule. Don't underestimate the challenge of communicating humility and delight — especially if user input is in jeopardy or the context has severe implications for users. Yet this tactic might enhance memorability and sustain user interest with low-stakes experiences until the system resumes functioning.

Error-Message Guidelines (13)
Error-Message Guidelines (14)

Conclusion

Interactions between humans and computers are constantly evolving, but there will inevitably be mistakes, misunderstandings, and, thus, a need for error messages. Follow these guidelines to ease these frustrating moments and help the user accomplish their task efficiently and with renewed confidence.

Error-Message Guidelines (2024)
Top Articles
Who Is W Scott Stornetta?
LBank Company Overview, Contact Details & Competitors
Exclusive: Baby Alien Fan Bus Leaked - Get the Inside Scoop! - Nick Lachey
Matgyn
Splunk Stats Count By Hour
Missed Connections Inland Empire
5 Bijwerkingen van zwemmen in een zwembad met te veel chloor - Bereik uw gezondheidsdoelen met praktische hulpmiddelen voor eten en fitness, deskundige bronnen en een betrokken gemeenschap.
Fnv Turbo
Www Craigslist Louisville
David Packouz Girlfriend
Crime Scene Photos West Memphis Three
Persona 4 Golden Taotie Fusion Calculator
Lonadine
Powerball winning numbers for Saturday, Sept. 14. Check tickets for $152 million drawing
Nail Salon Goodman Plaza
Mals Crazy Crab
Hocus Pocus Showtimes Near Amstar Cinema 16 - Macon
E22 Ultipro Desktop Version
Erica Banks Net Worth | Boyfriend
St. Petersburg, FL - Bombay. Meet Malia a Pet for Adoption - AdoptaPet.com
Why Should We Hire You? - Professional Answers for 2024
Invitation Homes plans to spend $1 billion buying houses in an already overheated market. Here's its presentation to investors setting out its playbook.
Kaitlyn Katsaros Forum
Jeffers Funeral Home Obituaries Greeneville Tennessee
Jeff Nippard Push Pull Program Pdf
Asteroid City Showtimes Near Violet Crown Charlottesville
48 Oz Equals How Many Quarts
Tokyo Spa Memphis Reviews
Arlington Museum of Art to show shining, shimmering, splendid costumes from Disney Archives
Farm Equipment Innovations
Select The Best Reagents For The Reaction Below.
Ts Modesto
Craigslist Sf Garage Sales
Indiana Jones 5 Showtimes Near Jamaica Multiplex Cinemas
Robot or human?
Devin Mansen Obituary
4083519708
AI-Powered Free Online Flashcards for Studying | Kahoot!
Tokyo Spa Memphis Reviews
“Los nuevos desafíos socioculturales” Identidad, Educación, Mujeres Científicas, Política y Sustentabilidad
South Bend Tribune Online
Japanese Big Natural Boobs
Carroll White Remc Outage Map
Mcalister's Deli Warrington Reviews
Despacito Justin Bieber Lyrics
Online College Scholarships | Strayer University
Makes A Successful Catch Maybe Crossword Clue
Puss In Boots: The Last Wish Showtimes Near Valdosta Cinemas
Appsanywhere Mst
Stone Eater Bike Park
Olay Holiday Gift Rebate.com
Latest Posts
Article information

Author: Gregorio Kreiger

Last Updated:

Views: 6676

Rating: 4.7 / 5 (77 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Gregorio Kreiger

Birthday: 1994-12-18

Address: 89212 Tracey Ramp, Sunside, MT 08453-0951

Phone: +9014805370218

Job: Customer Designer

Hobby: Mountain biking, Orienteering, Hiking, Sewing, Backpacking, Mushroom hunting, Backpacking

Introduction: My name is Gregorio Kreiger, I am a tender, brainy, enthusiastic, combative, agreeable, gentle, gentle person who loves writing and wants to share my knowledge and understanding with you.