From 1e3689c99c6bc20581f1d53d44f9e00ac2bacb4f Mon Sep 17 00:00:00 2001 From: Daniel Jankowski Date: Sat, 23 Aug 2025 15:39:08 -0400 Subject: [PATCH] feat(ui): add accessibility attributes to action buttons Add type, aria-label, and aria-hidden attributes to action and icon buttons across task and document components to improve accessibility and assistive technology support. --- .../components/project-tasks/DocumentCard.tsx | 7 ++++-- .../project-tasks/DraggableTaskCard.tsx | 22 ++++++++++++++----- .../project-tasks/TaskTableView.tsx | 16 ++++++++++---- 3 files changed, 33 insertions(+), 12 deletions(-) diff --git a/archon-ui-main/src/components/project-tasks/DocumentCard.tsx b/archon-ui-main/src/components/project-tasks/DocumentCard.tsx index 096b7319..e6ec5b9b 100644 --- a/archon-ui-main/src/components/project-tasks/DocumentCard.tsx +++ b/archon-ui-main/src/components/project-tasks/DocumentCard.tsx @@ -99,17 +99,20 @@ export const DocumentCard: React.FC = ({ {document.id.slice(0, 8)}... {/* Delete Button */} {showDelete && !isActive && ( )} diff --git a/archon-ui-main/src/components/project-tasks/DraggableTaskCard.tsx b/archon-ui-main/src/components/project-tasks/DraggableTaskCard.tsx index 64c18f61..a610030f 100644 --- a/archon-ui-main/src/components/project-tasks/DraggableTaskCard.tsx +++ b/archon-ui-main/src/components/project-tasks/DraggableTaskCard.tsx @@ -145,31 +145,37 @@ export const DraggableTaskCard = ({ {/* Action buttons group */}
@@ -191,6 +197,7 @@ export const DraggableTaskCard = ({ {task.assignee?.name || 'User'} @@ -225,11 +233,13 @@ export const DraggableTaskCard = ({ {task.title} @@ -241,7 +251,7 @@ export const DraggableTaskCard = ({ - + ); }; \ No newline at end of file diff --git a/archon-ui-main/src/components/project-tasks/TaskTableView.tsx b/archon-ui-main/src/components/project-tasks/TaskTableView.tsx index 76a2d20f..795a758a 100644 --- a/archon-ui-main/src/components/project-tasks/TaskTableView.tsx +++ b/archon-ui-main/src/components/project-tasks/TaskTableView.tsx @@ -366,28 +366,35 @@ const DraggableTaskRow = ({
{/* Copy Task ID Button - Matching Board View */}