Skip to content

fix: accessibility, tests, and a11y improvements (#868, #866, #873, #871, #864) - #981

Open
qvkap wants to merge 2 commits into
scout-off:mainfrom
qvkap:main
Open

fix: accessibility, tests, and a11y improvements (#868, #866, #873, #871, #864)#981
qvkap wants to merge 2 commits into
scout-off:mainfrom
qvkap:main

Conversation

@qvkap

@qvkap qvkap commented Aug 17, 2026

Copy link
Copy Markdown

Summary

This PR addresses 5 open GrantFox OSS bounty issues with accessibility improvements, test coverage, and a11y fixes.

Changes

  1. Add title attribute to TruncatedAddress copy button #868 — Added title attribute to TruncatedAddress copy button for tooltip-on-hover
  2. Add snapshot test for Badge component #866 — Added snapshot test for Badge component covering all 7 variants
  3. Add role="status" to all loading skeleton components #873 — Added role="status" and aria-label to PlayerCardSkeleton for screen readers
  4. Add unit tests for formatXlm utility function edge cases #871 — Added edge case tests for formatXlm: zero, large numbers, Stellar stroops, negatives, Infinity
  5. Add aria-label to wallet connect button in Navbar #864 — Added aria-label to wallet connect button in WalletButton

Acceptance Criteria

Testing

  • All new tests follow arrange/act/assert structure
  • Snapshot test locks in expected markup for all badge variants
  • Edge case tests cover zero, large numbers, fractional amounts, negatives, and Infinity

qvkap added 2 commits August 17, 2026 23:20
- Add title attribute to TruncatedAddress copy button (scout-off#868)
- Add snapshot test for Badge component all variants (scout-off#866)
- Add role="status" to PlayerCardSkeleton for screen readers (scout-off#873)
- Add edge case tests for formatXlm: zero, large numbers, stroops, negatives (scout-off#871)
- Add aria-label to wallet connect button (scout-off#864)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant