Skip to content

PoolDepositButton's amount input has no associated label, leaving it unlabeled for screen reader users #236

Closed

Description

@chonilius

src/app/milestones/MilestoneActions.tsx#PoolDepositButton renders:

<input
  type="number"
  min="1"
  value={amount}
  onChange={(e) => setAmount(e.target.value)}
  className="w-24 rounded-lg border border-slate-200 bg-white px-3 py-1.5 text-sm ..."
/>
<Button size="sm" variant="outline" onClick={handleDeposit} disabled={pending || connecting}>
  {pending || connecting ? "Confirming..." : "Deposit"}
</Button>

There is no <label> element associated with this <input> (via htmlFor/id), no
aria-label, and no aria-labelledby. Sighted users infer the input's purpose from its
visual proximity to the "Deposit" button and the section heading above it
("Recurring maintenance pools"), but a screen reader user tabbing to this field hears only
"number input, value 100" (or whatever the current amount is) with no indication it
represents a deposit amount, what currency/asset it's denominated in, or which
maintenance pool it applies to (the page renders one of these input/button pairs per
pool, all with identical, unlabeled markup).

This is a small, mechanical, and easily-fixed gap, but on a page with multiple identical
unlabeled inputs (one per maintenance pool), it's a real barrier to using this form
non-visually.

Suggested fix: add a visually-hidden <label htmlFor="pool-deposit-{poolId}">Deposit amount</label>
(or an aria-label referencing the pool's repo) to each input, and give the input a
matching id.

Activity

  1. added
    good first issue
    accessibility
    enhancement
    help wanted
    on Aug 21, 2026
  2. added
    Stellar Wave
    on Aug 24, 2026
  3. DeFex-lab commented on Aug 24, 2026

    @DeFex-lab

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

    Hi Maintainer, I’d be glad to take on this issue. I’ve worked on similar tasks before and have the experience needed to handle it. I’m ready to get started right away.

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

  4. samuel22x commented on Aug 24, 2026

    @samuel22x

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

    Hello @maintainer, I’d like to work on this issue. I have experience handling similar tasks and am available to start immediately. I will deliver in the shortest possible time.

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

  5. d3vobed commented on Aug 24, 2026

    @d3vobed

    @d3vobed 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 assign me let's begin

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

  6. OG-wura commented on Aug 24, 2026

    @OG-wura

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

    Can I please work on this

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

  7. presidojay1 commented on Aug 24, 2026

    @presidojay1
    Contributor

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

    Hi Maintainer, I’d be glad to take on this issue

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

  8. akintundeabeeb44-afk commented on Aug 24, 2026

    @akintundeabeeb44-afk

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

    I understand the project and the requirements clearly.

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

  9. drips-wave commented on Aug 24, 2026

    @drips-wave

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

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

  10. grantfox-oss commented on Aug 25, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox as part of the Third Campaign campaign!

    @presidojay1's PR #317 was approved and merged by @chonilius.

    🏆 @presidojay1: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (783 total points). Track your full progress on GrantFox.

    👏 Great work, @presidojay1! Keep contributing to MergeFi.

  11. added a commit that references this issue on Aug 25, 2026
    44dcd5e
  12. drips-wave commented on Aug 25, 2026

    @drips-wave

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

    😎 @presidojay1: 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 Waveaccessibilityenhancementgood first issuehelp wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions