Badge
Badges communicate a short status or category with text and optional color emphasis.
Accessible content
Section titled “Accessible content”The badge is noninteractive text. Supply a meaningful label in its default slot and make sure the words communicate the status without depending on color. The application owns the surrounding content and page composition.
Keyboard and announcements
Section titled “Keyboard and announcements”A badge does not receive keyboard focus. It does not act as a control or provide a live region. When a changing status needs an announcement, provide an appropriate live region in the application and verify it with assistive technology in context.
Check the context
Section titled “Check the context”Primer tests published color roles for contrast, but those checks are not an accessibility certification for an application. Verify content order, zoom, screen-reader output, keyboard workflows, and touch targets in the actual interface. See the accessibility guide and specs/badge.yaml.