Skip to content

feat(avatars): allow null aria-label on StatusIndicator to mark as decorative #2031

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jzempel
Copy link
Member

@jzempel jzempel commented Jul 14, 2025

Description

Used to prevent a duplicate screenreader output of "status: online, image Online" when the <StatusIndicator> is used within an interactive context – such as a status menu.

Detail

Emerging designs are calling for the extrasmall avatar to render its status SVG. The updates look like this...

Screenshot 2025-07-15 at 4 41 32 PM Screenshot 2025-07-15 at 4 42 16 PM

Checklist

  • 👌 design updates will be Garden Designer approved (add the designer as a reviewer)
  • 🌐 demo is up-to-date (npm start)
  • ⬅️ renders as expected with reversed (RTL) direction
  • renders as expected in dark mode
  • 🤘 renders as expected with Bedrock CSS (?bedrock)
  • 💂‍♂️ includes new unit tests. Maintain existing coverage (always >= 96%)
  • ♿ tested for WCAG 2.1 AA accessibility compliance
  • 📝 tested in Chrome, Firefox, Safari, and Edge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants