From eb835c9098c5c55f85669ea738304421e80aa5ca Mon Sep 17 00:00:00 2001 From: JoeMakuta Date: Sun, 29 Mar 2026 17:06:23 +0200 Subject: [PATCH 1/2] feat: add aria-labels for play/pause and mute/unmute buttons in Audio component for improved accessibility --- surfsense_web/components/tool-ui/audio.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/surfsense_web/components/tool-ui/audio.tsx b/surfsense_web/components/tool-ui/audio.tsx index dae752034..f8053677c 100644 --- a/surfsense_web/components/tool-ui/audio.tsx +++ b/surfsense_web/components/tool-ui/audio.tsx @@ -223,6 +223,7 @@ export function Audio({ id, src, title, durationMs, className }: AudioProps) { onClick={togglePlayPause} disabled={isLoading} className="size-7 sm:size-8" + aria-label={isPlaying ? "Pause" : "Play"} > {isLoading ? (
@@ -234,7 +235,7 @@ export function Audio({ id, src, title, durationMs, className }: AudioProps) {
- @@ -221,11 +221,11 @@ export function LocalLoginForm() { {authType === "LOCAL" && (
-

+

{t("dont_have_account")}{" "} {t("sign_up")}