Repository navigation
fix(chat): stabilize composer accessibility state - #1135
Conversation
Co-authored-by: Copilot App <[email protected]>
|
Codex review: needs maintainer review before merge. Reviewed August 8, 2026, 6:31 PM ET / 22:31 UTC. ClawSweeper reviewWhat this changesThe PR gates Reactor chat-composer controls until WinUI reports usable layout, assigns stable automation IDs, and adds UIA and Axe accessibility recovery coverage. Merge readinessKeep open for normal maintainer landing review. The current head provides a focused, source-consistent accessibility repair with real-process UIA coverage and no discrete correctness finding. Priority: P2 Review scores
Verification
How this fits togetherThe WinUI Reactor chat composer exposes input and action controls to Windows UI Automation and to users. Those controls feed accessibility scanners and assistive clients, which depend on accurate bounds, visibility, names, and hit testing. flowchart LR
A[Reactor chat composer] --> B[Composer controls]
B --> C{Usable WinUI layout?}
C -->|No| D[Raw UIA view and no hit testing]
C -->|Yes| E[Control UIA view]
E --> F[Assistive tools and accessibility scans]
Decision needed
Why: The patch is correctness-reviewed, but collaborator-authored PRs require an explicit maintainer merge decision. Before merge
Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Land the focused layout-state transition after maintainer review and required checks complete, retaining the UIA regression coverage as the guard against stale accessibility layout. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible: current main configures composer controls without a loaded, nonzero-layout gate, while the PR's focused UIA test exercises the affected production route. Is this the best way to solve the issue? Yes. A narrowly scoped layout readiness transition, stable IDs, and real-process UIA assertions address the stale control-state failure without introducing a new configuration or parallel UI path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 50a9455c6185. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
Co-authored-by: Copilot App <[email protected]>
Summary
Validation
./build.ps1dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore(3631 passed, 32 integration skips)dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore(2247 passed)dotnet build ./tests/OpenClaw.Tray.UITests/OpenClaw.Tray.UITests.csproj -c Debug -r win-x64 --no-restoreCategory=Accessibilitylanes (21/21 passed each, 105/105 total)Real behavior proof
Current-head isolated chat proof:
winapp ui get-propertyreportedIsOffscreen=Falseand nonzero bounds forChatComposerInput,ChatComposerAttach,ChatComposerSpeakerToggle,ChatComposerModelPicker,ChatComposerVoice, andChatComposerSettings.Scripted interactions also invoked Attach and opened/canceled the real file picker, then invoked Unmute and observed/dismissed the real Voice Output Is Off permissions dialog.