Repository navigation
Description
Environment
- Windows 11 (x64), OpenClaw Companion 2026.9.8-1 installed build, native WinUI tray app, gateway connected.
- NVDA, laptop keyboard layout, Caps Lock as the NVDA key.
- Code re-checked against
mainata4dd026c.
Steps to reproduce
- Settings page: change any option and save. A confirmation bar appears at the top; NVDA stays silent.
- Permissions page with MCP enabled: copy the MCP token or URL. A short status line changes; NVDA stays silent.
- Connection page: run a connection action ("Test", "Repair") and watch the status text change; NVDA stays silent.
- Cron page: expand or collapse a job card; NVDA is not told whether the card opened or closed.
Actual behavior
Results of user initiated actions are visible but not announced. A screen reader user has to move focus back and hunt for a changed sentence after every save, copy or connection attempt.
Root cause
main raises live region events in only two places:
src/OpenClaw.Tray.WinUI/Chat/ChatCopyButton.cs:134src/OpenClaw.Tray.WinUI/Windows/StoreMigrationWindow.xaml.cs:109
There are no RaiseNotificationEvent calls in the repository. Most result surfaces are InfoBars whose IsOpen is set to true while the control is still collapsed, or plain TextBlocks. In both cases NVDA drops the event: a collapsed element has no automation peer yet, and a LiveRegionChanged on a text block is often ignored.
Expected behavior
When a user action finishes, the result is announced once, with the right urgency (polite for success, assertive for errors), without moving focus.
Proposed solution
Add a small helper, for example src/OpenClaw.Tray.WinUI/Helpers/AutomationAnnounce.cs, with two entry points:
internal static void OpenInfoBar(InfoBar bar)
{
bar.IsOpen = false;
bar.Visibility = Visibility.Visible;
FrameworkElementAutomationPeer.CreatePeerForElement(bar);
bar.IsOpen = true;
}
internal static void Notify(FrameworkElement element, string? message = null)
{
var peer = FrameworkElementAutomationPeer.FromElement(element)
?? FrameworkElementAutomationPeer.CreatePeerForElement(element);
if (peer is null) return;
message ??= AutomationProperties.GetName(element);
if (string.IsNullOrEmpty(message) && element is TextBlock text) message = text.Text;
if (string.IsNullOrEmpty(message)) return;
peer.RaiseNotificationEvent(
AutomationNotificationKind.ActionCompleted,
AutomationNotificationProcessing.MostRecent,
message,
"OpenClawStatus");
}OpenInfoBar follows the InfoBar guidance: a property change while the bar is open does not raise a notification, so close and reopen it.
Wire it into the places that currently set IsOpen = true or replace a status string:
Pages/SettingsPage.xaml.cs(saved settings bar),Pages/ConfigPage.xaml.cs,Pages/ChannelsPage.xaml.cs(existing InfoBars),Pages/SandboxPage.xaml.cs(unavailable action bar),Pages/CronPage.xaml.cs(job completed bar, form error, and expand/collapse announcement using the job name),Pages/DebugPage.xaml.cs(copy feedback bar),Pages/PermissionsPage.xaml.cs(MCP copy status),Pages/ConnectionPage.xaml.cs(gateway action status, after the panel is made visible),Windows/WorkspaceWindow.xaml.cs(operation info bar).
Keep AutomationProperties.LiveSetting="Assertive" on error surfaces and Polite on success surfaces, matching the existing markup.
Validation plan
- Source contract tests in
tests/OpenClaw.Tray.Teststhat assert the announcement helper is used instead of bareIsOpen = truefor the listed surfaces. dotnet test tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj -c Debug -p:Platform=x64- Manual NVDA pass over Settings save, MCP copy, connection actions and Cron expand/collapse.
Scope
Screen reader access only. No localization content is requested in this issue.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsBacklog
Activity
clawsweeper commentedon Oct 31, 2026
Codex review: this still needs some work.
Summary
The merged fixes address MCP copy and connection feedback, but explicitly exclude the reported Settings save silence, so full resolution is not established.
Reproducibility: The installed-release report provides concrete steps, but current-main Settings silence was not reproduced; WinApp is unavailable here, and no builds or tests were run during this read-only review.
Next step
Capture UIA events and NVDA speech for first and repeated Settings saves, and verify current Automations disclosure feedback before deciding the remaining repair scope.
Review details
Best possible solution:
Retain the unresolved Settings case until paired UIA and NVDA observations establish reliable spoken feedback, then make only the repair those observations justify.
Do we have a high-confidence way to reproduce the issue?
The installed-release report provides concrete steps, but current-main Settings silence was not reproduced; WinApp is unavailable here, and no builds or tests were run during this read-only review.
Is this the best way to solve the issue?
The merged helper addresses the confirmed plain-text result gaps; blanket InfoBar reopening could duplicate native announcements and needs a failing Settings regression first.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning medium; reviewed against 8393459317d0.
Label changes
Label changes:
issue-rating: 🦪 silver shellfish: Current issue advisory state selects this label.clawsweeper:needs-maintainer-review: Current issue advisory state selects this label.issue-rating: 🦞 diamond lobster: Current issue advisory state no longer selects this label.clawsweeper:source-repro: Current issue advisory state no longer selects this label.clawsweeper:linked-pr-open: Current issue advisory state no longer selects this label.Label justifications:
P2: Missing action feedback affects accessibility of common operations, while results remain discoverable through in-product navigation.impact:ux-friction: Screen reader users must move focus and search for changed result text.Evidence reviewed
Acceptance criteria:
What I checked:
src/OpenClaw.Tray.WinUI/Pages/PermissionsPage.xaml.cs:363, 8393459317d0)src/OpenClaw.Tray.WinUI/Pages/SettingsPage.xaml.cs:85, 8393459317d0)src/OpenClaw.Tray.WinUI/Automations/AutomationsRoot.cs:733, 8393459317d0)Likely related people:
src/OpenClaw.Tray.WinUI/Helpers/AutomationAnnouncer.cs)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.Reviewed December 2, 2026, 5:01 AM ET / 10:01 UTC.
fix: tell screen readers when copying MCP details or a connection act…