From 1500a3cdd697f496d2723ffd9dae2766a9e9c24e Mon Sep 17 00:00:00 2001 From: Karen Lai <7976322+karkarl@users.noreply.github.com> Date: Tue, 7 Jul 2026 12:43:52 -0700 Subject: [PATCH 1/3] Refine gateway setup wizard UX and fix accessibility gaps UX refactor (setup wizard): - Replace radio-button option pickers with single-selection ListView (ItemsView/ItemContainer), first item selected by default. - Standardize the bottom action bar: standard-size Back button, AccentButtonStyle primary, Subtle "Skip"/"Start over" buttons, and a subtle "More options" control. - Move "Skip for now" to the top of every option list. - Replace the "more"/"back" radio entries with a subtle "More v" expander that expands the full list in a single click while preserving the "Skip for now" option, and a dedicated Back button. - Add a filter textbox above long model lists. - Render wizard transcript/security text as selectable RichTextBlock. Bug fix: - ExpandMoreOptionsAsync now updates _stepId from the expanded payload so selecting a newly revealed provider (e.g. Copilot) and pressing Continue no longer fails with a stale step id. Accessibility (verified live with Axe.Windows, 0 violations after): - Give SelectOptions ListView items an AutomationProperties.Name (label + hint) via a shared CreateOptionItem helper; multiselect checkboxes named the same way. Fixes NameNotNull on setup-mode, config-handling, and provider option lists. - Name the three CapabilitiesPage radio buttons (Read-only, Standard, Full access). Fixes NameNotNull on the capabilities step. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../Pages/AdvancedSetupPage.xaml | 4 +- .../Pages/CapabilitiesPage.xaml | 10 +- .../Pages/CompletePage.xaml | 2 +- .../Pages/ProgressPage.xaml | 2 +- .../Pages/SecurityNoticePage.xaml | 2 +- .../Pages/WelcomePage.xaml | 52 +-- .../Pages/WelcomePage.xaml.cs | 65 +++- .../Pages/WizardPage.xaml | 76 ++-- .../Pages/WizardPage.xaml.cs | 324 +++++++++++++++--- .../SetupWindow.xaml.cs | 1 + .../AppRefactorContractTests.cs | 8 +- 11 files changed, 408 insertions(+), 138 deletions(-) diff --git a/src/OpenClaw.SetupEngine.UI/Pages/AdvancedSetupPage.xaml b/src/OpenClaw.SetupEngine.UI/Pages/AdvancedSetupPage.xaml index 3622b58b2..326f11d39 100644 --- a/src/OpenClaw.SetupEngine.UI/Pages/AdvancedSetupPage.xaml +++ b/src/OpenClaw.SetupEngine.UI/Pages/AdvancedSetupPage.xaml @@ -86,10 +86,10 @@ + - + - - - - - - - - + + + + + + + + + +