Skip to content

Commit 2a7515c

Browse files
🎨 Palette: Add ARIA labels to tracker buttons
Co-authored-by: jmbish04 <26469722+jmbish04@users.noreply.github.com>
1 parent f48d6ea commit 2a7515c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎src/frontend/src/components/project-dashboard/beta/TrackerListView.tsx‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export function TrackerListView({ tasks, isLoading, onTaskUpdate, onTaskDelete }
143143
{/* Header Row */}
144144
<div className="sticky top-0 z-10 bg-background border-b">
145145
<div className="flex items-center gap-3 px-4 py-2 text-xs text-muted-foreground">
146-
<button onClick={toggleSelectAll} className="shrink-0">
146+
<button onClick={toggleSelectAll} className="shrink-0" aria-label="Select all tasks" title="Select all tasks">
147147
{selectedIds.size === tasks.length && tasks.length > 0 ? (
148148
<CheckSquare className="w-4 h-4 text-primary" />
149149
) : (
@@ -196,7 +196,7 @@ export function TrackerListView({ tasks, isLoading, onTaskUpdate, onTaskDelete }
196196
selectedIds.has(task.id) && 'bg-accent/10'
197197
)}
198198
>
199-
<button onClick={() => toggleSelect(task.id)} className="shrink-0">
199+
<button onClick={() => toggleSelect(task.id)} className="shrink-0" aria-label="Select task" title="Select task">
200200
{selectedIds.has(task.id) ? (
201201
<CheckSquare className="w-4 h-4 text-primary" />
202202
) : (
@@ -255,6 +255,8 @@ export function TrackerListView({ tasks, isLoading, onTaskUpdate, onTaskDelete }
255255
<button
256256
onClick={() => setEditingTag(task.id)}
257257
className="opacity-0 group-hover:opacity-100 transition-opacity"
258+
aria-label="Add tag"
259+
title="Add tag"
258260
>
259261
<Tag className="w-3 h-3 text-muted-foreground hover:text-foreground" />
260262
</button>

0 commit comments

Comments
 (0)