add ARIA labels, pressed states, and fix keyboard visibility across card detail components

This commit is contained in:
Your Name
2026-02-19 19:54:22 +02:00
parent f79e4c7090
commit 06a2f3ff3d
6 changed files with 19 additions and 5 deletions

View File

@@ -27,6 +27,7 @@ export function PriorityPicker({ cardId, priority }: PriorityPickerProps) {
<button
key={value}
onClick={() => updateCard(cardId, { priority: value })}
aria-pressed={priority === value}
className={`rounded-full px-3 py-1 text-xs font-medium transition-all ${
priority === value
? "text-white shadow-sm"