From 6c1a9942b0d5c80dcc20fe2b2afd2ce8e8918e2e Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Sat, 12 Sep 2026 02:04:52 -0400 Subject: [PATCH] fix(call): deafen button aria-label was inverted relative to its tooltip `enabled` means sound is on; the tooltip said "Deafen" but the aria-label said "Undeafen". Align the label with the tooltip and add aria-pressed to match the call-status bar's equivalent button. Fixes #33 Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01PPmy3tPq869XDW4njjVaKA --- src/app/features/call/Controls.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/features/call/Controls.tsx b/src/app/features/call/Controls.tsx index f5f3e81d5..698ae0ee2 100644 --- a/src/app/features/call/Controls.tsx +++ b/src/app/features/call/Controls.tsx @@ -74,7 +74,8 @@ export function SoundButton({ enabled, onToggle }: SoundButtonProps) { size="400" className={MobileTouchTarget} onClick={() => onToggle()} - aria-label={enabled ? 'Undeafen' : 'Deafen'} + aria-label={enabled ? 'Deafen' : 'Undeafen'} + aria-pressed={enabled} outlined >