From da5d3c60b379a09c2d217d280cddada60830b176 Mon Sep 17 00:00:00 2001 From: Marcel Date: Sat, 25 Apr 2026 11:14:31 +0200 Subject: [PATCH] fix(bulk-upload): chip readability and focus management in FileSwitcherStrip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Chip label text increased from 11px to 12px (text-xs) and number badge from 9px to 11px for the 60+ senior audience on laptops/tablets. After removing a chip via the × button, focus moves to the previous chip (falling back to the next chip when the first chip is removed) so keyboard users are not stranded on . Uses Svelte tick() to wait for DOM update. Co-Authored-By: Claude Sonnet 4.6 --- .../document/FileSwitcherStrip.svelte | 16 +++++++++--- .../document/FileSwitcherStrip.svelte.spec.ts | 26 +++++++++++++++++++ 2 files changed, 39 insertions(+), 3 deletions(-) diff --git a/frontend/src/lib/components/document/FileSwitcherStrip.svelte b/frontend/src/lib/components/document/FileSwitcherStrip.svelte index d70241bc..062eb99c 100644 --- a/frontend/src/lib/components/document/FileSwitcherStrip.svelte +++ b/frontend/src/lib/components/document/FileSwitcherStrip.svelte @@ -1,4 +1,5 @@