devtrack icon indicating copy to clipboard operation
devtrack copied to clipboard

[GOOD FIRST ISSUE] Add aria-label to all icon-only buttons

Open Priyanshu-byte-coder opened this issue 5 months ago • 46 comments

What Needs to Be Done

Audit all icon-only buttons across the app and add appropriate aria-label attributes so screen readers can announce their purpose.

Why This Matters

Icon-only buttons without labels are invisible to screen reader users. This is a WCAG 2.1 Level A requirement (1.1.1 Non-text Content).

Files to Look At

  • src/components/DashboardHeader.tsx — ThemeToggle, NotificationBell, SignOutButton, KeyboardShortcuts buttons
  • src/components/ThemeToggle.tsx — Dark/light mode toggle
  • src/components/NotificationBell.tsx — Notification bell icon
  • src/components/SignOutButton.tsx — Sign out icon button

Acceptance Criteria

  • [ ] All icon-only buttons have descriptive aria-label attributes
  • [ ] Labels accurately describe the button action (e.g., "Toggle dark mode", "View notifications", "Sign out")
  • [ ] No visual changes to the UI
  • [ ] Screen reader correctly announces button purpose

Tech Context

Look for <button> or <Button> elements that only contain an SVG icon or Lucide icon with no visible text. Each needs an aria-label prop.

Mentorship

Comment on this issue and you'll receive guidance on getting started. The maintainer will help you through your first PR.

Priyanshu-byte-coder avatar Jun 09 '26 20:06 Priyanshu-byte-coder

@Priyanshu-byte-coder I'm a GSSoC Contributer and I want to contribute on this repo by solving this issue please assign me

Mahesh-forcode avatar Jun 09 '26 20:06 Mahesh-forcode

Assigned to @Mahesh-forcode! You have 7 days to open a PR. No PR after 7 days = auto-unassigned so others can pick it up. Good luck!

github-actions[bot] avatar Jun 09 '26 20:06 github-actions[bot]

Hi! I'd like to work on this issue.

I checked ThemeToggle, NotificationBell, SignOutButton, KeyboardShortcuts, UserAvatar, and the DashboardHeader menu button. These components already appear to have appropriate aria-label attributes.

Could you point me to any remaining icon-only buttons that still need accessibility labels?

Vedant43hh avatar Jun 10 '26 05:06 Vedant43hh

@Vedant43hh This issue is already taken by @Mahesh-forcode. Check other open issues!

github-actions[bot] avatar Jun 10 '26 05:06 github-actions[bot]

hi!please assign this issue to me under gssoc'26

nancy-verma780 avatar Jun 10 '26 14:06 nancy-verma780

Hi! I'm a GSSoC 2026 participant and would like to work on this issue. Could you please assign it to me?

hitanshi-18 avatar Jun 10 '26 17:06 hitanshi-18

hi @Priyanshu-byte-coder can u plz assign this issue to me

AnushaRumi avatar Jun 11 '26 16:06 AnushaRumi

Hey @Mahesh-forcode — this issue was assigned 7 days ago with no PR opened. Unassigning so others can pick it up.

Still working on it? Drop a comment and request re-assignment.

github-actions[bot] avatar Jun 17 '26 07:06 github-actions[bot]

I'd like to contribute under GSSoC'26. I've already contributed to this project and i'm familiar with it. Please /assign it to me.

mugdhachalla avatar Jun 17 '26 07:06 mugdhachalla

Hi! I'm a GSSoC'26 contributor and would like to work on this issue. Can you please /assign it to me?

navdeep214 avatar Jun 17 '26 08:06 navdeep214

Hi @Priyanshu-byte-coder Please assign this issue to me

navyabansal21 avatar Jun 17 '26 08:06 navyabansal21

Hi @Priyanshu-byte-coder — I can continue this issue now. I found additional icon-only buttons not covered in the listed files and I’m starting a focused pass on them this cycle.

Plan:

  • Add descriptive aria-labels to remaining icon-only controls in:
    • src/app/dashboard/repo-comparison/page.tsx (repo chip remove action)
    • src/components/DashboardSidebar.tsx (mobile open/close buttons)
    • src/components/MilestonePlanner.tsx (expand/collapse and delete buttons)
  • Keep behavior and visuals unchanged.

I’m working on this in a local branch and will share the patch once complete.

WilliamK112 avatar Jun 17 '26 08:06 WilliamK112

hi i would like to work on this issue under gssoc please assign it to me

riyafathimakc633-ux avatar Jun 17 '26 08:06 riyafathimakc633-ux

Assigned to @riyafathimakc633-ux! You have 7 days to open a PR. No PR after 7 days = auto-unassigned so others can pick it up. Good luck!

github-actions[bot] avatar Jun 17 '26 08:06 github-actions[bot]

Hi @Priyanshu-byte-coder ! I'm a GSSoC'26 contributor and would like to work on this issue. Can you please /assign it to me?

shravi25 avatar Jun 19 '26 18:06 shravi25

/assign Hi @Priyanshu-byte-coder , I would like to contribute to this issue under GSSoC 2026. I have experience with the project's tech stack and can provide a fix promptly. Kindly assign it to me. Thank you!

hetbharodiya avatar Jun 21 '26 06:06 hetbharodiya

Hi @Priyanshu-byte-coder , I would like to contribute to this issue under GSSoC 2026. Kindly assign it to me. Thank you!

shristi2006 avatar Jun 21 '26 10:06 shristi2006

/claim /assign

sandana1918 avatar Jun 21 '26 11:06 sandana1918

Hey @Priyanshu-byte-coder, I'm a GSSoC 26 contributor and would like to work on this issue. Please assign it to me. /claim /assign

PrishaNagpal avatar Jun 21 '26 12:06 PrishaNagpal

/assign /claim Hi @Priyanshu-byte-coder, I'd like to work on this issue under GSSoC'26. I’ll audit the icon-only buttons mentioned in the issue and add appropriate aria-label attributes to ensure better accessibility without affecting the UI. Please assign this issue to me. Thanks!

deepsikha-dash avatar Jun 21 '26 14:06 deepsikha-dash