From fdba3211aac71dcd3f54b817251fb4c21d6d32a4 Mon Sep 17 00:00:00 2001 From: Marcel Date: Mon, 13 Apr 2026 23:02:25 +0200 Subject: [PATCH] fix(a11y): add aria-live to OcrProgress page counter Screen readers did not announce page-by-page OCR progress updates. Wrapping the counter text in a span with aria-live=polite ensures assistive technology announces each page completion without interrupting the user. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/lib/components/OcrProgress.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/lib/components/OcrProgress.svelte b/frontend/src/lib/components/OcrProgress.svelte index c9bbc124..fab8674c 100644 --- a/frontend/src/lib/components/OcrProgress.svelte +++ b/frontend/src/lib/components/OcrProgress.svelte @@ -72,7 +72,9 @@ $effect(() => { >

- {m.ocr_progress_page({ current: String(currentPage), total: String(totalPages) })} + + {m.ocr_progress_page({ current: String(currentPage), total: String(totalPages) })} +

{:else if status === 'error'}