Notifications

Notifications provide important, contextual information that may or may not not require the user to take action.

Coded Components

Helper classes: Looking for a complete list of helper classes for these components?View helper classes

Redlines: We don't include redline comps because it's always more accurate to use developer tools to inspect the coded components, or a plugin such as the Prism Redline Tool.

Informational Alert with Optional Anchor Links

<div class="dds__alert" data-dismiss="dds__alert" aria-expanded="true" role="alert"> <div class="dds__less"> <div class="dds__d-flex dds__justify-content-between"> <i class="dds__icons dds__alert-info-cir" aria-hidden="true"></i> <button type="button" class="dds__icons dds__close-x" aria-label="Close - Informational alert sample title (optional)"></button> <div class="dds__alert-default-body"> <p class="dds__alert-body">Lorem ipsum dolor amet kogi vaporware shoreditch chicharrones cold-pressed. Art party chambray activated charcoal 8-bit palo santo, edison bulb paleo vinyl cronut street art. Seitan poutine vice freegan cloud bread, vape whatever keffiyeh ugh asymmetrical semiotics. </p> <ul> <li>(optional) Lorum Ipsum with <a href="">anchor link.</a></li> <li>(optional) Lorum Ipsum with <a href="">anchor link.</a></li> <li>(optional) Lorum Ipsum with <a href="">anchor link.</a></li> <li>(optional) Lorum Ipsum with <a href="">anchor link.</a></li> </ul> </div> </div> </div> <div class="dds__more"> <button type="button" class="dds__dismiss">View Dismissed Alert</button> </div>
</div>

Success Alert with Optional Title and Anchor Links

<div class="dds__alert" data-dismiss="dds__alert" aria-expanded="true" role="alert"> <div class="dds__less"> <div class="dds__d-flex dds__justify-content-between"> <div class="dds__alert-heading dds__d-flex dds__align-items-center"> <i class="dds__icons dds__task-check dds__icon-h4" aria-hidden="true"></i> <h4>Success alert sample title (optional)</h4> </div> <button type="button" class="dds__icons dds__close-x" aria-label="Close - Success alert sample title (optional)"></button> </div> <p class="dds__alert-body">Lorem ipsum dolor amet kogi vaporware shoreditch chicharrones cold-pressed. Art party chambray activated charcoal 8-bit palo santo, edison bulb paleo vinyl cronut street art. Seitan poutine vice freegan cloud bread, vape whatever keffiyeh ugh asymmetrical semiotics. </p> <ul> <li>(optional) Lorum Ipsum with <a href="">anchor link.</a></li> <li>(optional) Lorum Ipsum with <a href="">anchor link.</a></li> <li>(optional) Lorum Ipsum with <a href="">anchor link.</a></li> <li>(optional) Lorum Ipsum with <a href="">anchor link.</a></li> </ul> </div> <div class="dds__more"> <button type="button" class="dds__dismiss">View Dismissed Alert</button> </div>
</div>

Informational Alert with Optional Title and Anchor Links

<div class="dds__alert" data-dismiss="dds__alert" aria-expanded="true" role="alert"> <div class="dds__less"> <div class="dds__d-flex dds__justify-content-between"> <div class="dds__alert-heading dds__d-flex dds__align-items-center"> <i class="dds__icons dds__alert-info-cir dds__icon-h4" aria-hidden="true"></i> <h4>Informational alert sample title (optional)</h4> </div> <button type="button" class="dds__icons dds__close-x" aria-label="Close - Informational alert sample title (optional)"></button> </div> <p class="dds__alert-body">Lorem ipsum dolor amet kogi vaporware shoreditch chicharrones cold-pressed. Art party chambray activated charcoal 8-bit palo santo, edison bulb paleo vinyl cronut street art. Seitan poutine vice freegan cloud bread, vape whatever keffiyeh ugh asymmetrical semiotics. </p> <ul> <li>(optional) Lorum Ipsum with <a href="">anchor link.</a></li> <li>(optional) Lorum Ipsum with <a href="">anchor link.</a></li> <li>(optional) Lorum Ipsum with <a href="">anchor link.</a></li> <li>(optional) Lorum Ipsum with <a href="">anchor link.</a></li> </ul> </div> <div class="dds__more"> <button type="button" class="dds__dismiss">View Dismissed Alert</button> </div>
</div>

Catastrophic Error with Optional Title

<div class="dds__alert" role="alert"> <div class="dds__d-flex dds__justify-content-between"> <div class="dds__alert-heading dds__d-flex dds__align-items-center"> <i class="dds__icons dds__alert-error dds__icon-h4" aria-hidden="true"></i> <h4>Catastrophic error sample title (optional)</h4> </div> </div> <p class="dds__alert-body">Lorem ipsum dolor amet kogi vaporware shoreditch chicharrones cold-pressed. Art party chambray activated charcoal 8-bit palo santo, edison bulb paleo vinyl cronut street art. Seitan poutine vice freegan cloud bread, vape whatever keffiyeh ugh asymmetrical semiotics. </p>
</div>

User Error with Optional Title

<div class="dds__alert" role="alert"> <div class="dds__d-flex dds__justify-content-between"> <div class="dds__alert-heading dds__d-flex dds__align-items-center"> <i class="dds__icons dds__alert-notice dds__icon-h4" aria-hidden="true"></i> <h4>User error sample title (optional)</h4> </div> </div> <p class="dds__alert-body">Lorem ipsum dolor amet kogi vaporware shoreditch chicharrones cold-pressed. Art party chambray activated charcoal 8-bit palo santo, edison bulb paleo vinyl cronut street art. Seitan poutine vice freegan cloud bread, vape whatever keffiyeh ugh asymmetrical semiotics. </p>
</div>

User Error

<div class="dds__alert" role="alert"> <div class="dds__d-flex dds__justify-content-between"> <div class="dds__error-default-body"> <i class="dds__icons dds__alert-notice" aria-hidden="true"></i> <p class="dds__alert-body">Lorem ipsum dolor amet kogi vaporware shoreditch chicharrones cold-pressed. Art party chambray activated charcoal 8-bit palo santo, edison bulb paleo vinyl cronut street art. Seitan poutine vice freegan cloud bread, vape whatever keffiyeh ugh asymmetrical semiotics. </p> </div> </div>
</div>

Solid Label Badges

<div> <div class="dds__label-badge dds__label-badge-solid-sea-blue">Label</div> <div class="dds__label-badge dds__label-badge-solid-status-green">Label</div> <div class="dds__label-badge dds__label-badge-solid-status-yellow">Label</div> <div class="dds__label-badge dds__label-badge-solid-status-red">Label</div> <div class="dds__label-badge dds__label-badge-solid-granite">Label</div> <div class="dds__label-badge dds__label-badge-solid-gray">Label</div> <div class="dds__label-badge dds__label-badge-solid-carbon">Label</div> <div class="dds__label-badge dds__label-badge-solid-teal">Label</div> <div class="dds__label-badge dds__label-badge-solid-light-blue">Label</div> <div class="dds__label-badge dds__label-badge-solid-midnight">Label</div> <div class="dds__label-badge dds__label-badge-solid-purple">Label</div> <div class="dds__label-badge dds__label-badge-solid-berry">Label</div> <div class="dds__label-badge dds__label-badge-solid-status-orange">Label</div>
</div>

Stroked Label Badges

<div> <div class="dds__label-badge dds__label-badge-stroke-sea-blue">Label</div> <div class="dds__label-badge dds__label-badge-stroke-green">Label</div> <div class="dds__label-badge dds__label-badge-stroke-yellow">Label</div> <div class="dds__label-badge dds__label-badge-stroke-red">Label</div> <div class="dds__label-badge dds__label-badge-stroke-white">Label</div> <div class="dds__label-badge dds__label-badge-stroke-quartz">Label</div> <div class="dds__label-badge dds__label-badge-stroke-wave">Label</div> <div class="dds__label-badge dds__label-badge-stroke-midnight">Label</div> <div class="dds__label-badge dds__label-badge-stroke-purple">Label</div> <div class="dds__label-badge dds__label-badge-stroke-berry">Label</div> <div class="dds__label-badge dds__label-badge-stroke-orange">Label</div> <div class="dds__label-badge dds__label-badge-stroke-yellow-warning">Label</div>
</div>

Numeric Badge on Darker Background

<a href="#" class="dds__mail-icon-ctnr" aria-label="42 unread email(s)"> <i class="dds__icons dds__mail" aria-hidden="true"> <span class="dds__badge dds__badge-dark">42</span> </i> <span>Mail</span> </a>

Numeric Badge on Lighter Background

<a href="#" class="dds__calendar-icon-ctnr" aria-label="3 event(s)"> <i class="dds__icons dds__calendar" aria-hidden="true"> <span class="dds__badge dds__badge-red">3</span> </i> <span>Calendar</span> </a>

Standard Announcement

<div class="dds__announcement"> <h4 class="dds__announcement-title">Optional title optional title</h4> <p class="dds__mb-0">Announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details.</p> <ul class="dds__list-inline"> <li class="dds__list-inline-item"><a href="#" class="dds__list-item">First link option</a></li> <li class="dds__list-inline-item"><a href="#" class="dds__list-item">Second link option</a></li> </ul> </div>

Announcement with Optional Image

<div class="dds__announcement dds__announcement-with-image"> <img class="dds__announcement-image" src="//uicore.dellcdn.com/site/1.6.1/5c76c529d2ffcf0165d4365b/5e5019314227fdcba9c509a4_dell-preferred-account.svg" alt=""> <div class="dds__announcement-content"> <h4 class="dds__announcement-title">Optional title optional title</h4> <p class="dds__mb-0">Announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details.</p> <ul class="dds__list-inline"> <li class="dds__list-inline-item"><a href="#" class="dds__list-item">First link option</a></li> <li class="dds__list-inline-item"><a href="#" class="dds__list-item">Second link option</a></li> </ul> </div>

Announcement in Berry

<div class="dds__announcement dds__announcement-berry"> <h4 class="dds__announcement-title">Optional title optional title</h4> <p class="dds__mb-0">Announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details.</p> <ul class="dds__list-inline"> <li class="dds__list-inline-item"><a href="#" class="dds__list-item">First link option</a></li> <li class="dds__list-inline-item"><a href="#" class="dds__list-item">Second link option</a></li> </ul>
</div>

Announcement in Green

<div class="dds__announcement dds__announcement-green"> <h4 class="dds__announcement-title">Optional title optional title</h4> <p class="dds__mb-0">Announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details.</p> <ul class="dds__list-inline"> <li class="dds__list-inline-item"><a href="#" class="dds__list-item">First link option</a></li> <li class="dds__list-inline-item"><a href="#" class="dds__list-item">Second link option</a></li> </ul>
</div>

Announcement in Midnight

<div class="dds__announcement dds__announcement-midnight"> <h4 class="dds__announcement-title">Optional title optional title</h4> <p class="dds__mb-0">Announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details.</p> <ul class="dds__list-inline"> <li class="dds__list-inline-item"><a href="#" class="dds__list-item">First link option</a></li> <li class="dds__list-inline-item"><a href="#" class="dds__list-item">Second link option</a></li> </ul>
</div>

Announcement in Purple

<div class="dds__announcement dds__announcement-purple"> <h4 class="dds__announcement-title">Optional title optional title</h4> <p class="dds__mb-0">Announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details announcement details.</p> <ul class="dds__list-inline"> <li class="dds__list-inline-item"><a href="#" class="dds__list-item">First link option</a></li> <li class="dds__list-inline-item"><a href="#" class="dds__list-item">Second link option</a></li> </ul>
</div>

Heading

No items found.

Usage

Alerts & Errors

Page-level notifications should appear below the page title and above the content.

Section-level notifications should appear below the section header and above that section's content.

Alerts and errors are displayed with the following priority:

  1. Catastrophic error alerts (if any) are always displayed by themselves.
  2. If there are no catastrophic errors, then user error alerts are displayed first.
  3. Success alerts (if any) follow user errors.
  4. Informational alerts (if any) are displayed last.

Alerts and errors may include an optional title.

Minor modifications can be made to the paragraph styling for an alert or error, but its heading styling should not be changed. Use screenreader-only text because notifications should be readable without a style sheet.

Navigation should be precise to each identified error and without the necessity to navigate the entire form. Notifications may include an optional list of one or more anchor links if the alert is specific to features farther down the page.

In cases with limited space, an appropriate icon (success, informational or error) can be used to trigger a tooltip that houses the notification message.

Writing a Notification

Important: See the Content Style Guide for detailed information about writing notifications, alerts and error messages.

Alerts and errors do not include marketing or promotional content.

Alerts and errors do not use interstitial or modal transitions that leverage static content.

Sufficient details should be provided for the user to address any user error. Error message text should be associated with each feature in error so that all errors are understandable and potentially correctable.

Consider next steps. When the user is required to do something in response to notification, let them know what they need to do and make that task as easy as possible. Think about how much context to provide with your message.

Write the message in concise, human readable language; avoid jargon and computer code.

Be polite in error messages — don’t blame the user.

Notifications are an opportunity to educate users because users will read a message that helps them resolve an error even if they won’t read documentation.

Don’t overdo it. Too many notifications will either overwhelm or annoy the user and are likely to be ignored.

Understand the user’s context. Don’t include notifications that aren’t related to the user’s current goal.

Alerts

Alerts include success messages and important information that do not require action by the user.

Can be collapsed and reopened.

Errors

Errors notify users that something has gone wrong, giving their progress either a temporary or permanent “stop”.

Cannot be collapsed due to their importance.

Catastrophic errors appear by themselves, without the distraction of other error and alert types.

Error notifications are automatically removed, independent of other error messages, when each error state is resolved.

The meaning of an error notification should be conveyed through means other than color alone (i.e. an icon and explicit title).

Badges

Badges are the smallest type of notification and are typically used to:

  • Numeric badges highlight the amount of items needing attention, such as items in a cart, unread messages, or alerts that are awaiting action.
  • Label badges reinforce content and file types, such as help content, primary subject matter, secondary subject matter, and content related to purchases.

Any of the brand approved colors for containers may also be used for badges so long as the implementation follows usage and accessibility guidelines.

No badge is shown for a numeric badge if the badge count number is zero.

Badge counts in excess of 999 will display “999+” for numeric badges.

Announcements

Multiple Announcements

  • Avoid stacking multiple announcements unless its unavoidable.

Use an announcement for publicizing ...

  • Dell programs
  • Dell.com features
  • Dell.com tools

Don't use an announcement for ...

  • Merchandising a product, service or solution. Instead, use a banner or card.
  • System alerts, errors or similar information. Instead, use an alert or error (see below)

Variants

  • An announcement may have a colored bar or approved icon, but never both.
  • An announcement can include an optional title.
  • An announcement can include up to two links.

Do's and Don'ts

Common Button Labels and Usage

Title case, 2-3 words maximum.
Do not combine actions in a label (exception: "Customize & Buy").
If standard labels don't fit the button's purpose, align label with the task the user is attempting.

Please refer to the Dell Technologies branding website, https://brand.delltechnologies.com/faq/#voice, for further information regarding call-to-action labels and usage.

Button Label:
Corresponding Action:
Add to Cart
Search
Cancel
Save
Edit
Delete
Continue
Next/Previous
Submit
Select
Sign In/Sign Out
View Details
Ok/Cancel
Learn More
Close
Takes users to Cart page, with item added
Used for search buttons
Takes users back to entry point for a task
Used to save an item
Navigates users to change an item
Deletes an item on the page, usually with a verification step
Used as progression
Used as forward and backward navigation (Next is primary, Previous is secondary)
Used to submit a task or info
Used for choosing items in a task flow
Authentication standard, for consistency do not use Log In/Log Out or Signin/Signout
Used instead of “Select” in cases of product details or within learn content
For use in modal verification steps when more specific CTAs will not fit due to space
Used to link users to more learning content or contextual help
Used within modal windows

Accessibility

The W3C Web Accessibility Initiative (WAI) develops standards and support materials to help you understand and implement accessibility.

Please follow the best practices for alert and message dialogs from WAI-ARIA authoring practices 1.1.

Please also refer to these recommendations for alert dialogs from WAI-ARIA 1.1.

You may refer to this example of an alert dialog from WAI-ARIA practices 1.1.

You may also refer to these tutorials for user notifications from Web Accessibility Tutorials.