From 1f0aa5f60299339761d074d17c297bfbf4c7ab40 Mon Sep 17 00:00:00 2001 From: AndersonDesign1 Date: Mon, 22 Jun 2026 16:31:32 +0100 Subject: [PATCH] fix(a11y): add accessible labels to unlabeled form controls React Doctor's accessibility pass flagged form controls whose only "label" was a placeholder (not an accessible name) or a hidden file input with no name. Add aria-label to the five genuine cases: - project collaboration composer textarea - portal project message composer textarea - clients search input - project files + portal files hidden upload inputs Skipped two false positives: the client-access dialog button already gets its name from projected text, and the onboarding slug input already has an associated . Co-Authored-By: Claude Opus 4.8 --- src/components/projects/project-collaboration-panel.tsx | 1 + src/components/projects/project-files-panel.tsx | 1 + src/routes/clients/index.tsx | 1 + src/routes/portal/files.tsx | 1 + src/routes/portal/projects/$id.tsx | 1 + 5 files changed, 5 insertions(+) diff --git a/src/components/projects/project-collaboration-panel.tsx b/src/components/projects/project-collaboration-panel.tsx index 0b5fa38..1be086c 100644 --- a/src/components/projects/project-collaboration-panel.tsx +++ b/src/components/projects/project-collaboration-panel.tsx @@ -160,6 +160,7 @@ export function ProjectCommentForm({ return (