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
Keep this issue open: current main still lacks reliable announcement handling for the reported action results, and existing accessibility scans do not verify those announcements.
Reproducibility: Current source establishes unannounced MCP copy feedback and problematic result-update paths; the author supplies installed-build NVDA steps, but this review performed no live reproduction or tests.
Next step
Establish a failing action-announcement regression, then repair the affected WinUI result paths and verify single delivery with NVDA.
Review details
Best possible solution:
Provide one reliable, appropriately prioritized announcement per action result while preserving focus, existing operation ownership, and localized wording.
Do we have a high-confidence way to reproduce the issue?
Current source establishes unannounced MCP copy feedback and problematic result-update paths; the author supplies installed-build NVDA steps, but this review performed no live reproduction or tests.
Is this the best way to solve the issue?
A focused announcement mechanism is appropriate, but copying the proposed helper verbatim is insufficient: existing InfoBar behavior, repeated results, urgency, and duplicate delivery need observable regression coverage.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning medium; reviewed against a4dd026cc5f8.
Label changes
Label changes:
P2: Screen reader users lose timely feedback across common actions, but the report describes results remaining discoverable through in-product navigation.impact:ux-friction: Users must move focus and search for changed status text after actions.issue-rating: 🦞 diamond lobster: Current issue advisory state selects this label.clawsweeper:source-repro: Current issue advisory state selects this label.clawsweeper:queueable-fix: Current issue advisory state selects this label.clawsweeper:fix-shape-clear: Current issue advisory state selects this label.Label justifications:
P2: Screen reader users lose timely feedback across common actions, but the report describes results remaining discoverable through in-product navigation.impact:ux-friction: Users must move focus and search for changed status text after actions.Evidence reviewed
Acceptance criteria:
What I checked:
src/OpenClaw.Tray.WinUI/Pages/PermissionsPage.xaml.cs:351, a4dd026cc5f8)src/OpenClaw.Tray.WinUI/Pages/ConfigPage.xaml.cs:1145, a4dd026cc5f8)src/OpenClaw.Tray.WinUI/Pages/ConnectionPage.xaml.cs:517, a4dd026cc5f8)tests/OpenClaw.Tray.UITests/AccessibilityScanTests.cs:65, a4dd026cc5f8)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 October 31, 2026, 10:11 AM ET / 14:11 UTC.