Skip to content

fix: a11y headings, wallet mismatch, mock profiles, format guard - #330

Merged
chonilius merged 2 commits into
MergeFi:mainfrom
ritaifeoluwa:fix/a11y-wallet-mock-reputation-format-guard
Aug 25, 2026
Merged

chonilius merged 2 commits into
MergeFi:mainfrom
ritaifeoluwa:fix/a11y-wallet-mock-reputation-format-guard

Conversation

@ritaifeoluwa

Copy link
Copy Markdown

Closes #282
Closes #283
Closes #284
Closes #285

What changed

Why

  • WCAG heading skip breaks screen reader navigation
  • Wallet/payout address mismatch could lead contributors to believe they'll receive payment at the wrong address
  • 3 of 5 homepage top contributors 404 in demo mode, breaking the first-time UX
  • A corrupted backend value could silently display as a legitimate figure

How to test

  1. Heading hierarchy: Inspect milestones page HTML — h3 elements now have an h2 ancestor
  2. Wallet mismatch: Connect a different wallet than the one on file → amber warning appears on ConnectPanel
  3. Mock profiles: Click any of the 5 top contributors from the homepage → profile loads (no 404)
  4. Format guard: Pass >1B to formatCurrency() → " ⚠" suffix appears

🤖 Generated with Claude Code

, MergeFi#284)

- Add h2 "Active milestones" before the milestones grid so h3 card
  names have a proper h2 ancestor (WCAG heading-level-skip fix)
- Add devrel_ana, qa_marcus, and linh_dev to mockReputationProfiles
  so all 5 top contributors resolve in demo mode instead of 404ing

Closes MergeFi#282
Closes MergeFi#284
…ergeFi#283, MergeFi#285)

- Compare WalletContext address against AuthUser.stellarAddress on the
  ConnectPanel and show a warning when they differ, so users know their
  connected wallet may not match their registered payout address
- Add SANITY_CEILING (1B) to formatCurrency — amounts above it render
  with a " ⚠" suffix to flag implausibly large/corrupted values
- Export isPlausibleAmount() helper for callers that need conditional
  warning logic

Closes MergeFi#283
Closes MergeFi#285
@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

@ritaifeoluwa is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

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