add ARIA labels and pressed states to board list and remaining components

This commit is contained in:
Your Name
2026-02-19 19:55:30 +02:00
parent d66e90a6d5
commit 0b155c6023
5 changed files with 8 additions and 2 deletions

View File

@@ -183,6 +183,7 @@ export function BoardCard({ board, sortable = false }: BoardCardProps) {
<ContextMenuTrigger asChild>
<button
onClick={handleOpen}
aria-label={`Open board: ${board.title} - ${board.cardCount} cards, ${board.columnCount} columns, updated ${relativeTime}`}
className="group flex w-full flex-col rounded-lg bg-pylon-surface shadow-sm transition-all duration-200 hover:-translate-y-0.5 hover:shadow-md text-left"
>
{/* Color accent stripe */}