From 75a0fe1d2f50ec29e23e0c3488b64f781341bedc Mon Sep 17 00:00:00 2001 From: Jessica Dene Earley-Cha <12740421+chatasweetie@users.noreply.github.com> Date: Fri, 27 Mar 2026 16:51:54 -0700 Subject: [PATCH] [CmdPal] Fix keyboard navigation double Tab stop in details panel (#46346) ## Summary of the Pull Request Fixes a keyboard accessibility issue in Command Palette where Tab navigation would stop twice on container elements in the details panel instead of navigating to details panel and then directly to interactive controls. The items in the Details Panel aren't really interactable anyways (the AllAppsPage & ClipBoard History just displays details) This is part of the a11y bug batch. User Impact: Keyboard-only and assistive-technology users may experience confusion, extra navigation effort, and reduced efficiency when interacting with the Search Apps pane. ## PR Checklist - [ ] Closes: #xxx - [x] **Communication:** I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end-user-facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx ## Detailed Description of the Pull Request / Additional comments ## Validation Steps Performed https://github.com/user-attachments/assets/0d5f0f20-040c-4d22-b769-3fe318c66697 --- .../Microsoft.CmdPal.UI/Pages/ShellPage.xaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI/Pages/ShellPage.xaml b/src/modules/cmdpal/Microsoft.CmdPal.UI/Pages/ShellPage.xaml index 6d2ecee17a..b74e7c08ff 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI/Pages/ShellPage.xaml +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI/Pages/ShellPage.xaml @@ -85,7 +85,8 @@ HorizontalAlignment="Stretch" HorizontalContentAlignment="Left" Click="Command_Click" - Style="{StaticResource SubtleButtonStyle}"> + Style="{StaticResource SubtleButtonStyle}" + UseSystemFocusVisuals="{StaticResource UseSystemFocusVisuals}"> @@ -119,6 +121,7 @@ @@ -142,6 +145,7 @@ @@ -394,10 +398,17 @@ Margin="4" HorizontalAlignment="Stretch" ui:VisualExtensions.NormalizedCenterPoint="0.5,0.5" + AutomationProperties.AccessibilityView="Content" + AutomationProperties.HelpText="{x:Bind ViewModel.Details.Body, Mode=OneWay}" + AutomationProperties.LandmarkType="Custom" + AutomationProperties.LocalizedLandmarkType="Details" + AutomationProperties.Name="{x:Bind ViewModel.Details.Title, Mode=OneWay}" Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" BorderBrush="{ThemeResource CmdPal.DividerStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="{StaticResource ControlCornerRadius}" + IsTabStop="True" + UseSystemFocusVisuals="{StaticResource UseSystemFocusVisuals}" Visibility="Collapsed">