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+
127Notifications0Invites
What the page exposes
- Name
- button
- Tab title
- Relay
- Bell target
- 28 × 28 px
99+NotificationsInvites
What the page exposes
- Name
- Notifications, 127 unread
- Tab title
- (99+) Relay
- Bell target
- 44 × 44 px
-
Badge at zero
shows “0” -
Accessible name
none · just “button”
-
Zero
no badge at all -
Accessible name
says the count
What changes
- Bad
- A
28pxbutton with a14pxbadge sitting on the glyph, “127” overflowing it, a “0” badge on Invites, and no accessible name. - Good
- A
24pxbell in a44pxbutton, a20pxbadge offset by-7pxthat 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)".