Status and severity

Communicating status versus severity

Providing users with clearly defined status and severity states is essential when sharing important context about their data streams and systems. Ensuring that accessibility standards are met in the UI plays a critical role in sharing this information.

  • Status: Refers to the current state of a connected data source, system, or similar object.

  • Severity: Refers to how critical an identified issue is.

Status and severity are most effectively communicated through a combination of text, color, and an icon.

Though both can be used to warn users of issues, severity icons and status icons are not interchangeable. Status does not automatically convey the level of impact an issue may have.

Content considerations

Icons are often most meaningful when paired with text. If you're not certain that all users will recognize an icon on its own, add a descriptive text label or a tooltip. For guidance related to icon tooltips, refer to our tooltips writing guide.

Status icons

Status icons convey the status of a data source, system, or similar object. They should not be used without a text label and/or additional context, like within alerts, banners, and empty states.

These icons are color coded to help users better understand what a message is trying to communicate. Status colors and status icons should not be swapped or rearranged. For example, a danger color should not be applied to an info status icon.

The following table outlines the proper combination of status type, icon, and color tokens to use:

Status
Icon
Color token
Usage
Danger
--pf-t--global--icon--color--status--danger--default
Use when a major error or blocking error has occurred.
Warning
--pf-t--global--icon--color--status--warning--default
Use when a non-critical error has occurred.
Success
--pf-t--global--icon--color--status--success--default
Use when a task or process has completed without error.
Info
--pf-t--global--icon--color--status--info--default
Use for general, informational messages.
Custom
--pf-t--global--icon--color--status--custom--default
Use for generic messages, with no associated severity. Allows you to use custom colors.

Usage

Use status icons:

  • To provide more context to the meaning or current state of an alert, modal, banner, or similar component.
  • To properly identify the type of message being shared (based on the usage definitions in the previous table).

Do not use status icons:

  • To convey severity. Use severity icons instead.
  • To communicate a message without a text label.

Severity icons

When there is an issue or incident related to a source of data, it is important to communicate the severity of the situation to help users to measure and understand the impact that it may have. To facilitate effective communication, we offer a series of severity icons.

These icons utilize color and visual weight to reflect the sense of severity that the icon is communicating. As the icons progress from less severe to more severe, the visual weight shifts and the color becomes more attention-grabbing.

Severity level

Icon

Color token
Usage
Critical

--pf-t--global--icon--color--severity--critical--default
Reserve for the highest severity issues.
Important

--pf-t--global--icon--color--severity--important--default
Use for high-threat issues.
Moderate

--pf-t--global--icon--color--severity--moderate--default
Use for moderate-threat issues.
Minor

--pf-t--global--icon--color--severity--minor--default
Use for low-threat issues.
None

--pf-t--global--icon--color--severity--none--default
Use when there is no security threat.
Undefined

--pf-t--global--icon--color--severity--undefined--default
Use if a severity level has not been determined yet, but is expected to change and be defined later.

Usage

Use severity icons:

  • To make it easier for users to quickly understand the impact of an issue.

Do not use severity icons:

  • To communicate the status of something. Instead, use status icons.
  • Without applying the proper color. The severity color palette was chosen carefully to communicate a clear range of urgency, while ensuring proper color accessibility.

Single issue

When you're displaying severity information about a single, standalone issue, use the appropriate severity level text label:

./img/severity-table-single.png

Aggregated issues

Due to varying use cases, you can use anywhere between 3 to 6 icons to communicate a severity range. When arranging multiple severity icons, organize them from most severe to least severe.

Scale
Levels
Icons
6-point scale
Critical, important, moderate, minor, none, undefined
              
5-point scale
Critical, important, moderate, minor, none or undefined (choose 1)
           
or
           
4-point scale
Critical, important, moderate, minor
        
3-point scale
Critical, moderate, minor
     

These groups of severity icons are especially useful in data displays, like tables and cards.

When you use multiple severity icons, include a count for each icon. To allow users to take action on issues, you can also link the counts to other resources.

./img/severity-table-multiple.png