Skip to content

BountyCard (and PipelineColumn) wrap their entire card content in one Link, producing an unwieldy accessible name in screen readers' links lists #415

Closed

Description

@abayomicornelius

Problem

src/components/bounty/BountyCard.tsx wraps its entire card contents — avatar, org/repo/issue-number line, title, reward, description preview, status/difficulty/label badges, deadline, and claimed-by line — in a single <Link>:

<Link href={`/issues/${bounty.id}`} prefetch={false} className="relative block overflow-hidden rounded-2xl ...">
  <div className="flex items-start justify-between gap-4 pl-2">...</div>
  <p className="mt-3 line-clamp-2 pl-2 ...">{stripMarkdownToPlainText(bounty.description)}</p>
  <div className="mt-4 flex flex-wrap items-center gap-2 pl-2">
    <StatusBadge .../><DifficultyBadge .../>{bounty.labels.map(...)}
  </div>
  <div className="mt-4 flex items-center gap-4 pl-2 ...">...</div>
</Link>

A single <a> (what Link renders) whose accessible name is computed from all of its text content means this card's link accessible name is the concatenation of the org/repo/issue number, the full title, the formatted reward, the two-line description preview, every status/difficulty/label badge's text, the deadline text, and (when present) the claimed-by line — potentially a very long run-on string.

Impact

Screen reader users frequently navigate by pulling up a "links list" (e.g. VoiceOver's Web Rotor, JAWS's/NVDA's links list) to scan a page's links by their names alone, out of visual context. On /issues or any dashboard rendering a grid of BountyCards, every entry in that list would be an unwieldy multi-sentence string instead of a concise, scannable link name (ideally just the bounty title, or title + reward) — this is the well-documented "everything is one giant link" anti-pattern for card-style link wrappers.

The same pattern also exists in src/app/dashboard/maintainer/PipelineBoard.tsx's PipelineColumn, whose <Link href={/issues/${b.id}} title={b.title} ...> similarly wraps the org/repo/issue-number line, title, and formatted reward as one link's accessible name.

Suggested fix

Give the wrapping Link a concise aria-label (e.g. `${bounty.title}, ${formatCurrency(bounty.reward, bounty.asset)}`) so the accessible name stays short and meaningful while the visual card content is unaffected, or restructure so only the title is the actual link text and the rest of the card is aria-hidden/decorative supplementary text within it.

Activity

  1. shadrach68 commented on Sep 17, 2026

    @shadrach68

    Hi Maintainer,
    I'd like to take on this issue. I've reviewed the requirements, understand the scope, and can deliver a tested solution that aligns with the project's standards.

    Thanks.

  2. added
    accessibility
    on Sep 17, 2026
  3. ranjeet150 commented on Sep 18, 2026

    @ranjeet150

    Hi there,

    I would love to take this on. My planned approach:

    • Implement BountyCard (and PipelineColumn) wrap their entire card content in one Link, producing an unwieldy accessible name in screen readers' links lists following the existing UI design system, accessibility standards, and responsive styling.
    • Verify UI performance and zero console errors.

    Looking forward to contributing—please assign whenever convenient!

  4. added
    Stellar Wave
    on Sep 24, 2026
  5. Netty-kun commented on Sep 24, 2026

    @Netty-kun

    @Netty-kun has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

    Hi maintainer, I'd like to work on this issue.

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

  6. davidhacks-web commented on Sep 24, 2026

    @davidhacks-web

    @davidhacks-web has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

    Hi, can i please be assigned to this, thank you

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

  7. JesseJohn7 commented on Sep 24, 2026

    @JesseJohn7

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

    please can you kindly assign this issue to me

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

  8. Leemxiey commented on Sep 24, 2026

    @Leemxiey

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

    hi maintainer, can i pls work on this issue

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

  9. Noragiftfr commented on Sep 24, 2026

    @Noragiftfr
    Contributor

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

    Hi Maintainer, I’d like to handle this

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

  10. drips-wave commented on Sep 24, 2026

    @drips-wave

    Congratulations, @Noragiftfr! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on September 30, 2026.

    🧑‍💻 @Noragiftfr: 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 🌊

  11. added 2 commits that reference this issue on Sep 26, 2026
  12. drips-wave commented on Sep 26, 2026

    @drips-wave

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

    😎 @Noragiftfr: 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.

  13. removed
    Stellar Wave
    on Oct 15, 2026
  14. added
    Stellar Wave
    on Oct 15, 2026
  15. removed
    Stellar Wave
    on Oct 15, 2026
  16. added
    Stellar Wave
    on Oct 15, 2026
  17. removed
    Stellar Wave
    on Oct 15, 2026
  18. 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

Assignees

Labels

Stellar Waveaccessibility

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions