From 104854da2a57e4a2a0a5b40e627140ef89bb2b51 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Sat, 14 Nov 2026 04:09:20 +1100 Subject: [PATCH] fix(ui): accessibility check targets the New task dialog; keep focus outlines on dock handles (#1963) --- e2e/checks/accessibility.cjs | 2 +- ui/src/App.vue | 9 ++++++--- ui/src/chat/ChatDock.vue | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/e2e/checks/accessibility.cjs b/e2e/checks/accessibility.cjs index 85c4ade86..14b6ff270 100644 --- a/e2e/checks/accessibility.cjs +++ b/e2e/checks/accessibility.cjs @@ -13,7 +13,7 @@ module.exports = async ({ page, go, shot, fail, settled, tolerate }) => { await go('/tasks'); await page.getByRole('button', { name: 'Jump to', exact: true }).click(); await page.getByRole('option', { name: 'New task', exact: true }).click(); - const dialog = page.getByRole('dialog'); + const dialog = page.getByRole('dialog', { name: 'New task' }); await dialog.waitFor(); await settled(); const bounds = await dialog.boundingBox(); diff --git a/ui/src/App.vue b/ui/src/App.vue index ee35d463d..b915147d2 100644 --- a/ui/src/App.vue +++ b/ui/src/App.vue @@ -1,7 +1,7 @@