shibro
Show the version of “Callouts come in four types, each with its own icon and label”

Content and help · SU-300

Callouts come in four types, each with its own icon and label

Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.

  • Tip icon same as Note
  • Warning icon · label · 4px rule
  • Danger 4 sentences · no label
  • Danger own icon · 2 sentences

What changes

Bad
Four callouts with the same info icon and no labels, told apart by blue, green, amber and red alone, one of them 4 sentences long.
Good
Note, Tip, Warning and Danger each have their own icon shape, a bold label, a 4px rule and one or two sentences, with text at 4.5:1 or better.

The rules

  • SU-300

    Callouts come in four types and stay short. Allow Note, Tip, Warning and Danger only. Each has a distinct icon shape, a text label, a tint with text at 4.5:1, a left rule of 3-4px, and 3 sentences at most. No nesting, and use them sparingly: one or two per screen of text. Use role="note", not alert, because the content is static. Warning text in forms and policies is bold, with an icon and a visually hidden "Warning".