Accessibility
- A large badge has
role="status", so a change of its label is announced. - A small badge is
aria-hidden: name the element it is on with what it says, such as "Inbox, new messages". - A badge is not focusable; the element it is on takes the interaction.