From ae156ff3957729bb567fd2a91fb45ba1b5d94e1d Mon Sep 17 00:00:00 2001 From: xRangerDE Date: Mon, 11 May 2026 12:11:13 +0200 Subject: [PATCH] a11y: aria-live=polite on 3 more refresh-result status messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Following the cleanupReport fix in 4.6.153, three more user-triggered refresh result strings were updating silently: - statsLastScannedLabel — "Letzter Scan: " / "Scanne..." in the Archive-Statistik header after clicking Aktualisieren - archiveSearchSummary — "{matchCount} matches (scanned {scanned}…)" / "Scanne..." after clicking Suchen - storageSummary — "Total: {files} files, {size} — Free disk: {free}" / "Scanne..." after clicking Aktualisieren on the Storage card All three are textContent updates triggered by an explicit user action that finishes asynchronously. Without aria-live, screen reader users hear nothing after pressing the action button — the result text fills in off-screen. Added role="status" + aria-live="polite" to all three. "polite" because the result isn't urgent — the user requested it and waiting for a natural break in speech is fine. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.html b/src/index.html index 2b601c9..e153b56 100644 --- a/src/index.html +++ b/src/index.html @@ -422,7 +422,7 @@

Archiv-Statistik

- +
@@ -474,7 +474,7 @@ -
+
@@ -695,7 +695,7 @@

Disk-Verbrauch pro Streamer im aktuellen Download-Ordner. Live-Aufnahmen werden separat ausgewiesen.

-
+