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

未关闭
#2,249 51 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@Nandaninaulaa 已经在做这个了。

开始于 2026年11月26日。

  • #3117 来自 @GAURAV7820 —— 已关闭,未合并

评估

这个 Issue 还没有评估数据。

描述

accessibility good first issue hacktoberfest help wanted level 1 level:beginner type:accessibility

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.

主要语言
TypeScript
星标
246
派生
436
平均合并
9 小时 33 分钟
30 天内合并 PR
213

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Priyanshu-byte-coder/devtrack 的其他 Issue

查看 Priyanshu-byte-coder/devtrack 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。