UX Planet

UX Planet is a one-stop resource for everything related to user experience.

Follow publication

8 Tips for Designing Inclusive Notifications and Alerts

Sooraj MV
UX Planet
Published in
7 min readDec 15, 2019
Photo by Sangga Rima Roman Selia on Unsplash

The number one principle in Jakob Nielsen’s 10 Heuristics of usability is ‘The visibility of System Status’

By securing the first place on that list, It shows how crucial it is for an application to communicate the various system states and user action feedback in real-time!

I have been working on redesigning the notification banner component in our design system (State Street Design System) for a while and stumbled upon a few interesting aspects during my research. I will try my best to share few of them through this article :)

What is a Notification Banner? 🤔

These names can be confusing, so when I say ‘notification banner’ I’m talking about a message which is placed on top of a page or a section that informs the user of an important change or condition with optional actions or links.

Sadly there is a lack of naming standards in the world of design. It is chaos!

Categorization of banners based on functionality

Banners can be broadly put into four categories based on their place of appearance: Global, Sectional, In-line and Toast Messages.

Global Banners are used for application critical issues that should be conveyed with prominence. Usually, they are placed on top of a page above everything else or below the global navigation bar.

Example of Global Error Banner from StackExchange
StackExchange informing the user of a critical error. Even-though the banner explains what went wrong, there is no alternate actions or suggestions included on what to do next.

Sectional Banners can be placed on a particular area of a page or top of a component they correspond to. These messages may contain a variety of content types including errors, information, attention, etc.

Graphic of a sectional banner on Amazon Website
A Sectional Banner on Amazon website informing the user about some features

Inline Banners are non-obtrusive messages that address the issues inside the content area. These messages can be placed inside cards, dialog boxes, etc and provide additional guidance to the user.

Graphic of an Inline Banner from Internet Explorer Settings dialog box
An Inline Banner placed inside the IE settings dialog box with a link.
Graphic of an inline banner from Kiwi.com website
An Inline Banner placed inside a search field on Kiwi.com website

Toast Messages are low priority event-driven feedback which usually doesn’t require any user interaction. They appear for a set time and disappear automatically. They are appropriate for informing the user about action confirmations without being intrusive or infer unnecessary attention. eg: Message Sent or Changes Saved.

PS. Here is an interesting read on Toast Message accessibility by Sheri Byrne-Haber: https://medium.com/@sheribyrnehaber/designing-toast-messages-for-accessibility-fb610ac364be

Graphic of a Toast Message from Grammarly Website
A Toast Message on Grammarly App with the close icon

Usability of Notification Banners

Now we have an idea about different banner types, Let’s take a look at a few usability aspects of the component.

The utility and usability will determine the usefulness of the banner. Utility refers to the functionality of the component, whether it does what user needs or not. And the usability comes from different qualities such as learnability, efficiency, etc. (You can find more info about usability here)

Usability-01: Avoid using Toast Messages for errors!

One of the common pitfalls in applications is to use toast messages for showing errors. These messages will disappear even before the user can understand what went wrong!

🤦‍♂️

So instead, use a banner without a close icon and it should summarize what went wrong, options to recover from the errors and it should persist until the issues are resolved.

Graphic of Toast Message used for showing errors in AXIS bank online chat window
The AXIS Bank online customer care window shows an error in a toast message. It disappeared even before I could capture the screenshot!

Usability-02: Use proper signifiers to trigger a meaningful interaction

If the banner contains a link, make it look obvious with an underline. If it contains buttons make sure it looks like it can be clicked.

Users will not play find waldo with the interface. It’s the responsibility of a UX professional to provide appropriate signifiers in the interface to make it easy to interact with.

Graphic of an inline banner on Outllook Mail
Outlook Inline Banner (inside the red circle) informing the user that it has prevented auto-download of images and an option to download them if required. But the banner itself is camouflaged in the interface and the links are hard to notice.

Usability-03: Stop disrupting the user with modal dialogs

Modal dialogs are the most intrusive way to communicate with the user. It interrupts whatever user was doing at the moment and grabs the users attention by cornering them with this dialog window. Always use toast messages or other banners that don’t interrupt the user-flow for low priority feedback and confirmation of task completions.

Modal dialogs are incredible tools to communicate the most critical and time-sensitive actions, but unfortunately, also the most overused and abused method by developers around the world.

I found an interesting read on this here: https://ux.stackexchange.com/questions/40172/is-pop-up-always-bad

Graphic of a confirmation popup from AXIS Bank website
A modal dialog showing a confirmation message on the AXIS Bank website. I was doing an address update and this popped up interrupting my workflow like I made an error!
A diagram that shows the severity level of modal dialogs compared to other UI components used for in-app communication

Usability-04: Summarize the errors at one place in a logical order

Acknowledging that there is a problem is a first step towards helping users recover from errors. ‘The worst error messages are those that don’t exist’ This is a quote from Jakob Nielsen’s article on error message guidelines.

UX Methods for handling errors and exceptions can be a subject for a research paper or even a book! However, I want to cover a few aspects of error recovery using banners and inline validation messages.

Charles Kettering, an American engineer/inventor once said ‘A problem well stated is a problem half-solved’ This is absolutely true when presenting an error message to a user during an interaction. Consider a scenario where there are multiple input field errors on a page or over a few pages of a complex task. The optimal way to address this issue is given below in steps:

• Summarise all the errors in a page inside a banner in a logical order

• Clearly state what went wrong with each error and what needs to be done to correct it
• Make each error message hyperlinked to the respective erroneous field
• Use inline validation message in each erroneous field in tandem with the top error banner
• Make sure the banner persist until the issues are resolved

Error summary Banner in Workday Canvas Design System

Steps to make the Notification Banner Inclusive

Accessibility should be built-in from basic elements to complex experiences in a design system.

Regrettably, various departments from developers to product managers disregard this aspect out of ignorance or over other priorities. Here I have included some tips to make the notifications banners accessible.

Incidentally, while I was doing my research I found this blogpost by Heydon Pickering who has some excellent points about designing inclusive components.

a11y-01: Start with the basics, provide enough contrast and text size

This is a no-brainer, yet astonishingly the often messed up part even for the fortune 500s! 😐

All text in banners should provide the minimum required color contrast ratio of 4.5:1 to pass the AA conformance of WCAG 2.0 and provide a suitable font size for readability.

though I couldn’t find any specific requirements from WCAG 2.0 for minimum font size specifications, I would recommend using at least 16 pixels for body content. If there are any interactive elements inside the banner, like a close button, make sure it has at least a 3:1 contrast ratio to pass the AA conformance of non-text contrast requirements as well.

Graphic of a notification banner on BOX, inc
A screenshot of a Notification Banner on BOX, about privacy policy. White text against yellow background fails to provide the minimum contrast, and it’s difficult to read on even the retina screens.🤦‍♂️
Graphic of a notification banner on Netflix
Another example of a Notification Banner on Netflix with insufficient contrast
Graphic of a notification banner on Cisco Webex Meetings app
A Banner informing the user regarding network connectivity issues on Cisco Webex Meetings App. See the low contrast of text against the background.

a11y-02: Avoid action items in Toast Messages

When an auto disappearing toast message pops up on the screen, the screen reader will announce the message instantly, provided that the message had an accompanying ARIA live region value. When this happens, actionable elements like links are announced as part of the message and will not make sense to screen reader users.
Consequently, it’s best not to include actionable controls inside a toast message.

Graphic of a toast message with link on Stack Exchange
An auto disappearing Toast Message on Stack Exchange. The link to the ‘reputation’ page included in this message will not be accessible to screen reader users.

a11y-03: Avoid lengthy blocks of text

Some users with reading or vision disabilities may find long lines of text excruciating to read and follow along. Use a CSS ‘max-width’ property to contain a continuous reflow of text on large screens.

According to WCAG SC# 1.4.8, It’s advised to use an average of 80 characters per line.

Graphic of a sectional Banner from Gmail with long blocks of text.
A Sectional Banner from Gmail, alerting the user about possible spam content. See the long blocks of text on this banner, which may be hard to read for some users with vision/reading disabilities.

a11y-04: Avoid placing dynamically generated banners on right side corners

The proper placement of banners on-screen is directly proportional to the visibility of the component. Fitts’s law states that corners are easier to reach due to the pinning action of the screen, which is one of the reasons that some banners are placed on the corners.

But some screen magnifying users may fail to notice time-sensitive information due to the right side placement.

Graphic of a toast message on LinkedIn
A Toast Message on LinkedIn placed on the left-hand corner of the screen.

Bonus Tip: To make copy comprehensible for screen readers, write out dates completely, such as September 1, 2019, not 9/1/2019

Thank you 😊

This is my first endeavor on Medium, hope you like it! 🤞🙏🏻 🤞

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

UX Planet is a one-stop resource for everything related to user experience.

User Experience Designer at State Street Corporation | Psychology Student

Responses (3)

Write a response