How do you write user-friendly error messages for your web app? (2024)

  1. All
  2. Technical Communication

Powered by AI and the LinkedIn community

1

Use plain language

2

Provide context and guidance

3

Be consistent and concise

4

Test and iterate

5

Follow accessibility standards

6

Learn from examples

7

Here’s what else to consider

Error messages are inevitable in any web app, but they can also be frustrating and confusing for your users. How do you write error messages that are clear, helpful, and respectful, and that improve your user experience and accessibility? Here are some tips to follow when crafting user-friendly error messages for your web app.

Top experts in this article

Selected by the community from 9 contributions. Learn more

How do you write user-friendly error messages for your web app? (1)

Earn a Community Top Voice badge

Add to collaborative articles to get recognized for your expertise on your profile. Learn more

  • How do you write user-friendly error messages for your web app? (3) 2

  • Michael G. Khmelnitsky, Ph.D. Technical Communication Expert, Documentation Mentor, Usability Advocate

    How do you write user-friendly error messages for your web app? (5) 1

How do you write user-friendly error messages for your web app? (6) How do you write user-friendly error messages for your web app? (7) How do you write user-friendly error messages for your web app? (8)

1 Use plain language

Avoid jargon, technical terms, and vague words that might confuse or intimidate your users. Instead, use simple and direct language that explains what went wrong, why it happened, and how to fix it. For example, instead of saying "Invalid input", say "Please enter a valid email address". Use active voice and positive tone to avoid blaming or shaming your users.

Add your perspective

Help others by sharing more (125 characters min.)

    • Report contribution

    I try to think about it this way: how would I explain this to my mom (if non-technical users are part of the audience)? And all error messages should clearly state how they can fix the problem.

    Like

    How do you write user-friendly error messages for your web app? (17) 2

  • Michael G. Khmelnitsky, Ph.D. Technical Communication Expert, Documentation Mentor, Usability Advocate
    • Report contribution

    Because not all of our users are first-language speakers, we have to be careful with words such as "please" (that can indicate that the action is optional, rather than a polite phrase) or "may" (that can indicate seeking permission, rather than possibility). Lead with action verbs and stick with the formula of a) What went wrong? b) What can you do (and how you can do it)? and c) What can you do if the action doesn't work? For example, "Enter a valid email by using the name@domain.com format. If the system doesn't accept the email, contact Customer Care at 1-800-HELP-MEE."

2 Provide context and guidance

Error messages should not only inform your users about the problem, but also guide them towards a solution. Provide context and details that help your users understand the cause and scope of the error, and suggest actions they can take to resolve it. For example, instead of saying "Server error", say "We're sorry, something went wrong on our end. Please try again later or contact our support team". Include links, buttons, or instructions that make it easy for your users to follow your suggestions.

Add your perspective

Help others by sharing more (125 characters min.)

  • Michael G. Khmelnitsky, Ph.D. Technical Communication Expert, Documentation Mentor, Usability Advocate
    • Report contribution

    It's essential to provide guidance for immediate action. For example, a message such as "Contact Customer Care." results in the user having to "hunt" for contact information. On the other hand, a message such as "Contact Customer Care by using the care.example.com portal or by emailing care@example.com." provides information that the user doesn't need to search for. This is particularly important for mission-critical system where the user can't spare any time to search of browse for essential information.

    Like

    How do you write user-friendly error messages for your web app? (35) 1

3 Be consistent and concise

Error messages should be consistent in style, format, and tone throughout your web app, to avoid confusion and maintain trust. Use a standard template or format for your error messages, and follow the same conventions for capitalization, punctuation, and grammar. Keep your error messages concise and focused on the essential information, and avoid unnecessary words or repetition. For example, instead of saying "We're sorry, we couldn't process your request because there was an error on our server", say "We couldn't process your request. Please try again later".

Add your perspective

Help others by sharing more (125 characters min.)

  • Michael G. Khmelnitsky, Ph.D. Technical Communication Expert, Documentation Mentor, Usability Advocate
    • Report contribution

    It's a good idea to create a series of example error messages (or possibly a template) and include these examples in your in-house style guide. This allows everyone at your company, from Engineering to Customer Success, to speak with one voice. In turn, this approach creates a consistent and familiar experience for your users.

    Like

    How do you write user-friendly error messages for your web app? (44) 1

4 Test and iterate

The best way to ensure that your error messages are user-friendly is to test them with real users and get feedback. Use usability testing methods such as user interviews, surveys, or analytics to find out how your users perceive and react to your error messages, and what challenges or questions they have. Use this feedback to improve and refine your error messages, and to identify and fix any underlying issues that cause them.

Add your perspective

Help others by sharing more (125 characters min.)

  • Michael G. Khmelnitsky, Ph.D. Technical Communication Expert, Documentation Mentor, Usability Advocate

    One of the best way to test error messages is simulating the situations in which they usually arise. For this reason, it is also a great idea to reach out to colleagues in Sales and Customer Success organizations and interview them about specific experiences in which the error messages arose, gauge the usability of the error message itself and its usefulness in the context of a scenario that involves a real system or customer.

    Like

    How do you write user-friendly error messages for your web app? (53) 1

5 Follow accessibility standards

Error messages should be accessible to all your users, regardless of their abilities or preferences. Follow the Web Content Accessibility Guidelines (WCAG) to make sure that your error messages are perceivable, operable, understandable, and robust. Some of the best practices include using contrast colors, icons, and sounds to indicate errors, providing alternative text and captions for images and audio, using clear and simple language and structure, and ensuring that your error messages are keyboard and screen reader friendly.

Add your perspective

Help others by sharing more (125 characters min.)

  • Michael G. Khmelnitsky, Ph.D. Technical Communication Expert, Documentation Mentor, Usability Advocate
    • Report contribution

    In addition to accessibility, it is also important to make sure that your error messages are consistent across the product, for example, in the web UI, in the CLI, and in the SDK. A good single-sourcing strategy can ensure that your team reuses strings rather than writing them over and over for the same scenario. When you display error messages visually, match your product's design language and the severity and error type. For instance, you could have "Caution" error messages (that appear when damage to equipment or users can take place) appear in red, "Important" error messages (for data loss or corruption) appear in yellow, "Note" messages (information about unexpected system behavior) appear in blue, and "Tip" messages appear in green.

    Like

    How do you write user-friendly error messages for your web app? (62) 1

6 Learn from examples

One of the best ways to learn how to write user-friendly error messages is to look at examples from other web apps that do it well. Pay attention to how they use language, context, guidance, consistency, conciseness, testing, and accessibility to communicate effectively with their users. Some of the web apps that are known for their user-friendly error messages are Slack, Mailchimp, Dropbox, and Netflix. You can also find online resources and blogs that showcase and analyze good and bad examples of error messages.

Add your perspective

Help others by sharing more (125 characters min.)

  • Michael G. Khmelnitsky, Ph.D. Technical Communication Expert, Documentation Mentor, Usability Advocate
    • Report contribution

    In addition to successful error message examples, it is a good thought-experiment to seek out confusing error messages, and try to imagine the ways in which you might rewrite them to serve the user better. By exposing yourself to as many kinds of error messaging and notification types "in the wild," you can get a good idea of what kind of system behavior expectations users commonly have and how far your can push your interface design.

    Like

    How do you write user-friendly error messages for your web app? (71) 1

7 Here’s what else to consider

This is a space to share examples, stories, or insights that don’t fit into any of the previous sections. What else would you like to add?

Add your perspective

Help others by sharing more (125 characters min.)

  • Michael G. Khmelnitsky, Ph.D. Technical Communication Expert, Documentation Mentor, Usability Advocate
    • Report contribution

    A story about how NOT to write error messages: Many years ago, I worked for a company where I had inherited the Error Message Guide. The guide was a PDF file, hundreds of pages long. Most of the messages in this guide included an abstruse error code, a fairly user-unfriendly message, and often no resolution. Curating this monstrous deliverable taught me the importance of serving error messages in the immediate context where they occur (within the product itself). The sheer torture—of having to find the PDF file, search the file for a particular string, and then decipher it—is something I wouldn't wish on my worst enemy, and I have been avoiding these kinds of error messages since that time.

    Like

    How do you write user-friendly error messages for your web app? (80) 1

  • Mike Mee (FISTC) Contract Technical Author - open to work
    • Report contribution

    At a previous role, for insurance software, there was a list of all the error messages. No-one had bothered to 'clean up' or at least attempt to review the text within. So I asked for a dump of every single message and after a few days I had collated all of the necessary changes. Some of them were quite embarrassing and fixes were needed a.s.a.p. There were the simpler ones also, like removing an unnecessary 't' from Alzheimer's (and putting in the apostrophe). Always get a fresh pair of eyes to review *all* of the error messages. No matter how perfect your team think they are.

    Like

Technical Communication How do you write user-friendly error messages for your web app? (89)

Technical Communication

+ Follow

Rate this article

We created this article with the help of AI. What do you think of it?

It’s great It’s not so great

Thanks for your feedback

Your feedback is private. Like or react to bring the conversation to your network.

Tell us more

Report this article

More articles on Technical Communication

No more previous content

  • How do you design technical documents for different accessibility needs? 17 contributions
  • How do you keep up with the latest trends and tools in technical communication? 10 contributions
  • How do you optimize your technical communication products for search engines and social media? 4 contributions
  • How do you evaluate the effectiveness of your technical communication based on audience feedback? 3 contributions
  • How do you incorporate visual elements such as graphs, tables, and images in your technical writing? 4 contributions
  • How do you write technical white papers and articles that showcase your expertise and authority? 5 contributions
  • What are the key elements of a good technical document? 9 contributions
  • How do you assess your own technical communication skills and identify areas for improvement? 3 contributions
  • How do you design and deliver technical communication training that meets the needs of diverse learners? 1 contribution
  • What are some of the best practices for writing inclusive and respectful technical language? 4 contributions
  • What are some common challenges and pitfalls to avoid when using wireframes and prototypes? 2 contributions

No more next content

See all

More relevant reading

  • Internet Services How can you apply WCAG guidelines to web forms?
  • Programming What are the most effective HTML5 semantic element accessibility testing tools?
  • Front-end Development How do you ensure your code quality and standards improve user experience?
  • HTML5 How can you ensure HTML5 accessibility with WCAG 2.1?

Are you sure you want to delete your contribution?

Are you sure you want to delete your reply?

How do you write user-friendly error messages for your web app? (2024)
Top Articles
The 5 biggest obstacles to losing weight | CSIRO Total Wellbeing Diet
How Do I Run a Validator on Radix? | The Radix Knowledge Base
I brought the best part of Windows to my MacBook and it gave me a huge productivity boost
Kaiser Ncti
Stone-Ladeau Funeral Home | Winchendon, Massachusetts
Dass Slumber Party Pt1
Happy Ending Massage Milwaukee
Craigslist Carmel Cars For Sale By Owner
Byrn Funeral Home Mayfield Kentucky Obituaries
Varsity Tutors, a Nerdy Company hiring Hoboken Vietnamese Tutor in Hoboken, NJ | LinkedIn
Dfw To Anywhere Google Flights
Jc Green Obits
What is international trade and explain its types?
Iwu Directory
Matt Severance Picks
Wakegov Property
Deluxeblondes Com
Xlauriexkimx
75 Fun Cartoon Characters that Start with Q - Smarty n'Crafty
What The Dog Doin Origin
Daftpo
Bulls set the ‘gold standard’
Subway Surfers Unblocked Wtf
Brimstone Sands Lost Easels
Carrie June Leak
Djs In The 90S
Manhungay
Best Breakfast Near Grand Central Station New York
Votes Of Opposition Daily Themed Crossword
South Bend Weather Underground
Walgreens Colesville
Craigslist Ct Apartments For Rent
Ludvigsen Mortuary Fremont Nebraska
Sams La Habra Gas Price
Quenisha Poole Verdict
Shiawassee County 911 Active Events
Jessica Ann Ussery Wiki
Raneka and Asonta: Are the Love After Lockup Stars Still Romantically Involved?
Best Far Side Jokes
The Best Transmission Cooler [Buying Guide]
Lions Roster Wiki
Ups Locations Massachusetts
Doomz.io Unblocked Games 76
Merging Rooms Fallout Shelter
Filmy4Wab Xyz
Spartan 365 - Email and Microsoft Office
Portugal Anúncios Classificados OLX
1977 Elo Hit Wsj Crossword
Lids Locker Room Vacaville Photos
Eggy Car - Play it Online at Coolmath Games
Latest Posts
Article information

Author: Errol Quitzon

Last Updated:

Views: 5438

Rating: 4.9 / 5 (59 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Errol Quitzon

Birthday: 1993-04-02

Address: 70604 Haley Lane, Port Weldonside, TN 99233-0942

Phone: +9665282866296

Job: Product Retail Agent

Hobby: Computer programming, Horseback riding, Hooping, Dance, Ice skating, Backpacking, Rafting

Introduction: My name is Errol Quitzon, I am a fair, cute, fancy, clean, attractive, sparkling, kind person who loves writing and wants to share my knowledge and understanding with you.