From 0e2927e42ce10449d1cba4a53a06e8a0df0f9530 Mon Sep 17 00:00:00 2001 From: Zac Gaetano Date: Sun, 10 May 2026 13:30:56 -0400 Subject: [PATCH] Add keyboard focus rings to themed buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All Wd.Button.* styles set FocusVisualStyle=x:Null which suppresses WPF's default dotted focus rectangle. With no replacement IsKeyboardFocused trigger, tab-navigating gave NO visual cue — accessibility regression. Match the keyboard-focus visual to the hover visual so mouse and keyboard land on the same affordance: - Ghost: cyan border on focus (same as hover, minus the bg fill change so focus + hover compound visibly) - Caption: lifts to Wd.Button.HoverBg - RailIcon: lifts to Wd.Button.HoverBg + cyan icon - IsoToggle: 2px cyan border (same as hover; status bg preserved) Verified building cleanly. Tab-cycle through the IN-CALL bar / header pills / settings tabs now lights the focused control. --- src/TeamsISO.App/Themes/WildDragonTheme.xaml | 21 ++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/TeamsISO.App/Themes/WildDragonTheme.xaml b/src/TeamsISO.App/Themes/WildDragonTheme.xaml index bcb6ca8..f0dd61e 100644 --- a/src/TeamsISO.App/Themes/WildDragonTheme.xaml +++ b/src/TeamsISO.App/Themes/WildDragonTheme.xaml @@ -167,6 +167,16 @@ + + + + @@ -233,6 +243,9 @@ + + + @@ -290,6 +303,10 @@ + + + + @@ -339,6 +356,10 @@ + + + +