Skip to content

AvatarStack's "+N" overflow badge has no accessible label describing the hidden avatars #209

Closed

Description

@chonilius

src/components/ui/Avatar.tsx#AvatarStack renders a numeric overflow indicator when more
seeds are passed than max:

{rest > 0 && (
  <span className="-ml-2 flex h-7 w-7 items-center justify-center rounded-full bg-slate-100 text-[11px] font-medium text-slate-600 ring-2 ring-white dark:bg-slate-800 dark:text-slate-300 dark:ring-slate-950">
    +{rest}
  </span>
)}

This <span> has no aria-label, title, or any text alternative beyond the bare
+{rest} string itself. A screen reader encountering it reads only "+3" (or similar)
with no indication that this represents additional, hidden avatars/contributors beyond
the ones already announced — sighted users infer this visually from the stacked-circle
context, but that context isn't conveyed to assistive technology.

AvatarStack is used on the homepage (<AvatarStack seeds={topContributors.map((c) => c.handle)} />)
right next to the text "Joined by 341 contributors already earning," so the overflow
badge is one of the first interactive-looking elements a screen reader user encounters
on the page, with no explanation of what it represents.

Suggested fix: add aria-label={+${rest} more contributors} (or similar) to the
overflow <span>, and consider a title attribute listing the hidden seeds for sighted
mouse users hovering it, since currently none of the stacked avatars expose who they
are beyond the visual identicon.

Activity

  1. added
    good first issue
    accessibility
    security
    help wanted
    on Aug 21, 2026
  2. added
    Stellar Wave
    on Aug 24, 2026
  3. IfechukwuDev commented on Aug 24, 2026

    @IfechukwuDev

    @IfechukwuDev has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi, I’m a smart contract and a full-stack web developer, I have read through the issue and it’s something I’m capable of doing. Please assign me this work.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @IfechukwuDev to this issue.

  4. gitGolf commented on Aug 24, 2026

    @gitGolf

    @gitGolf has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi Maintainer, I'd like to work on this issue. I've handled similar tasks in the past and feel comfortable diving into this one right away

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @gitGolf to this issue.

  5. johdanike commented on Aug 24, 2026

    @johdanike

    @johdanike has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I'd love to take this on! I will update the AvatarStack overflow badge to include an appropriate aria-label detailing the hidden contributors, and add a title attribute to expose the same context for sighted users on hover. Building accessible, inclusive UI components in React is standard practice for me. Let me know if I can get assigned!

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @johdanike to this issue.

  6. olubukolatanko209-doc commented on Aug 24, 2026

    @olubukolatanko209-doc

    @olubukolatanko209-doc has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi maintainer, I am a full-stack developer and i have reviewed this issue and understand the requirements. I’m ready to implement and fix this issue and also submit a PR. I look forward to working with you.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @olubukolatanko209-doc to this issue.

  7. richardtoms100 commented on Aug 24, 2026

    @richardtoms100
    Contributor

    @richardtoms100 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I'm ready to take on this issue now

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @richardtoms100 to this issue.

  8. drips-wave commented on Aug 24, 2026

    @drips-wave

    Congratulations, @richardtoms100! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.

    🧑‍💻 @richardtoms100: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  9. drips-wave commented on Aug 25, 2026

    @drips-wave

    This issue has been completed by @richardtoms100 as part of the Stellar Wave Program's 8th Wave 🥳

    😎 @richardtoms100: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

  10. removed
    Stellar Wave
    on Oct 15, 2026
  11. added
    Stellar Wave
    on Oct 15, 2026
  12. removed
    Stellar Wave
    on Oct 15, 2026
  13. added
    Stellar Wave
    on Oct 15, 2026
  14. removed
    Stellar Wave
    on Oct 15, 2026
  15. added
    Stellar Wave
    on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar Waveaccessibilitygood first issuehelp wantedsecurity

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions