From 25be77b4abf70c19ee1b2d885f3fe69c60daa042 Mon Sep 17 00:00:00 2001 From: xRangerDE Date: Mon, 11 May 2026 12:06:40 +0200 Subject: [PATCH] a11y: cleanupReport gets role=status + aria-live=polite MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Auto-Cleanup card has a "Vorschau" (dry-run) and "Jetzt ausfuehren" button pair followed by a cleanupReport div that displays the result text — "Wuerde X Dateien aelter als Y Tagen verschieben", "X Dateien archiviert", or "Fehler". Without an aria-live region, screen reader users who click the button never hear what happened: the focus is still on the button, the result text appears off to the side silently. Added role="status" + aria-live="polite" so the report's textContent change gets announced when it's set. "polite" because the report isn't an alert/error — the user requested the action, so they can wait for the screen reader's natural break in current speech to announce the result. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index 206b091..2b601c9 100644 --- a/src/index.html +++ b/src/index.html @@ -729,7 +729,7 @@ -
+