Skip to content

fix(a11y): add aria-hidden to decorative icons across 4 components - #529

Merged
chonilius merged 2 commits into
MergeFi:mainfrom
ogundelevictory:fix/a11y-aria-hidden-icons-433-434-435-436
Sep 24, 2026
Merged

chonilius merged 2 commits into
MergeFi:mainfrom
ogundelevictory:fix/a11y-aria-hidden-icons-433-434-435-436

Conversation

@ogundelevictory

Copy link
Copy Markdown
Contributor

Summary

Add aria-hidden="true" to decorative icons in four components:

Why

All icons are purely decorative, immediately paired with text labels that convey the same information. Without aria-hidden, screen readers announce unlabeled graphics as redundant noise. The StatCard fix (#435) is especially impactful since it's the shared component behind every stat tile across all dashboards.

How to test

  • Run npx axe-core or use browser DevTools accessibility inspector — no unlabeled graphic violations should remain on the affected pages
  • Screen reader (VoiceOver/NVDA) should not announce icon names on issue detail, navbar dropdowns, dashboard stat tiles, or the connect page

Linked issues

Closes #433
Closes #434
Closes #435
Closes #436

- IssueDetailPage stat-row icons (ShieldCheck, Clock, GitBranch, MilestoneIcon) (MergeFi#433)
- Navbar ChevronDown dropdown indicator (MergeFi#434)
- StatCard icon prop wrapper (MergeFi#435)
- ConnectPanel Code2/Wallet/CheckCircle2 icons (MergeFi#436)

All icons are purely decorative, paired with adjacent text labels.
Adding aria-hidden prevents screen readers from announcing unlabeled
graphics as redundant noise.

Closes MergeFi#433
Closes MergeFi#434
Closes MergeFi#435
Closes MergeFi#436
@drips-wave

drips-wave Bot commented Sep 23, 2026

Copy link
Copy Markdown

@ogundelevictory Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@vercel

vercel Bot commented Sep 23, 2026

Copy link
Copy Markdown

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

A member of the Team first needs to authorize it.

@chonilius
chonilius merged commit dbd0917 into MergeFi:main Sep 24, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants