shibro
Show the version of “Notification bells cap their count, hide it at zero and name it”

Onboarding and notifications · SU-338

Notification bells cap their count, hide it at zero and name it

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

  • 127 in 14px covers the bell
  • Badge 20px · capped at 99+
  • Badge at zero shows “0”
  • Accessible name none · just “button”
  • Zero no badge at all
  • Accessible name says the count

What changes

Bad
A 28px button with a 14px badge sitting on the glyph, “127” overflowing it, a “0” badge on Invites, and no accessible name.
Good
A 24px bell in a 44px button, a 20px badge offset by -7px that caps at “99+”, no badge at zero, and the name “Notifications, 127 unread”.

The rules

  • SU-338

    Notification bells cap and name their counts. Put the 24px bell in a 44px button. The badge is at least 16px tall (20px reads better), a circle for one digit and a pill after that, hangs off the icon corner without covering the glyph, uses tabular figures, is hidden at zero and caps at "99+". Name the button "Notifications, 3 unread", announce count changes politely at most once a minute, and mirror the count in the document title as "(3)".