From d63f2a0b86ce1f6e11dcf264667c269533ba5db6 Mon Sep 17 00:00:00 2001 From: Piotr Karpala Date: Mon, 13 Jul 2026 21:40:19 -0400 Subject: [PATCH 1/2] fix(a11y): add aria-labels to icon buttons and non-color cue to activity band (#422) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: bbf27d66-9aca-451b-85ee-3a32e0775d52 --- app/components/AdminPanel.vue | 4 +- app/components/AgentActivityViewer.vue | 6 +-- app/components/AgentModeViewer.vue | 6 +-- app/components/AiChatPanel.vue | 8 ++-- app/components/BreakdownComponent.vue | 6 +-- app/components/CopilotChatViewer.vue | 6 +-- app/components/MainComponent.vue | 9 +++-- app/components/MetricsViewer.vue | 6 +-- app/components/MyUsageViewer.vue | 6 +-- app/components/PullRequestViewer.vue | 6 +-- app/components/SeatsAnalysisViewer.vue | 6 +-- app/components/TeamsComponent.vue | 16 +++++--- app/components/UserMetricsViewer.vue | 22 ++++++++--- tests/a11y-components.spec.ts | 55 ++++++++++++++++++++++++++ 14 files changed, 118 insertions(+), 44 deletions(-) create mode 100644 tests/a11y-components.spec.ts diff --git a/app/components/AdminPanel.vue b/app/components/AdminPanel.vue index 5015177d..89cb32c3 100644 --- a/app/components/AdminPanel.vue +++ b/app/components/AdminPanel.vue @@ -5,7 +5,7 @@ mdi-shield-crown Admin Panel - + mdi-close @@ -249,6 +249,7 @@ variant="text" icon title="Retry this date" + aria-label="Retry this date" :loading="retryingDate === f.metricsDate" :disabled="!!busyAction" @click="retryOne(f.metricsDate)" @@ -431,6 +432,7 @@ variant="text" density="compact" title="Dismiss this row (kept in DB so gap-mode coverage still works)" + aria-label="Dismiss billing job row" @click="dismissBillingJob(j.id)" /> diff --git a/app/components/AgentActivityViewer.vue b/app/components/AgentActivityViewer.vue index 1406a725..4c1bcb03 100644 --- a/app/components/AgentActivityViewer.vue +++ b/app/components/AgentActivityViewer.vue @@ -66,9 +66,9 @@
- mdi-view-agenda - mdi-view-grid - mdi-fullscreen + mdi-view-agenda + mdi-view-grid + mdi-fullscreen
diff --git a/app/components/AgentModeViewer.vue b/app/components/AgentModeViewer.vue index c1eb742a..457d5be6 100644 --- a/app/components/AgentModeViewer.vue +++ b/app/components/AgentModeViewer.vue @@ -109,9 +109,9 @@
- mdi-view-agenda - mdi-view-grid - mdi-fullscreen + mdi-view-agenda + mdi-view-grid + mdi-fullscreen
diff --git a/app/components/AiChatPanel.vue b/app/components/AiChatPanel.vue index a566aac1..38606bd2 100644 --- a/app/components/AiChatPanel.vue +++ b/app/components/AiChatPanel.vue @@ -7,6 +7,7 @@ class="ai-chat-fab" color="indigo" icon + aria-label="Open AI metrics assistant" size="large" elevation="6" style="position: fixed; bottom: 24px; right: 24px; z-index: 2147483647;" @@ -31,15 +32,15 @@ AI Metrics Assistant - + mdi-key-remove Disconnect personal token - + mdi-delete-outline Clear conversation - + mdi-close @@ -185,6 +186,7 @@