Repository navigation
fix: identify Claws Add button targets to screen readers - #176184
Conversation
Worked on by: - @gideonpraise Co-authored-by: gideonpraise <[email protected]> OpenClaw-Publication: 3c925ce9-923e-4adf-8bde-85c764dbb371
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesAdds localized, target-specific accessible names to Claws Add buttons in Explore and the catalog dialog. Example: A screen-reader user browses Workflow Operator and Research Assistant.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR fixes a current accessibility defect with a minimal change and no actionable findings; exact-head CI remains pending. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI renders Gateway catalog entries through two browsing views, which expose accessible buttons and send the selected Claw to the existing details navigation. flowchart LR
A[Gateway catalog entries] --> B[Explore cards]
A --> C[Catalog dialog]
D[Localized Add name] --> B
D --> C
B --> E[Accessible button]
C --> E
E --> F[Existing details navigation]
Technical reviewBest possible solution: Keep the shared localized label and both direct ARIA bindings while preserving existing navigation and installation ownership. Do we have a high-confidence way to reproduce the issue? Current-main source shows unnamed Add targets in both renderers, consistent with the supplied before-fix browser accessibility output; no target code was executed during this review. Is this the best way to solve the issue? This is the smallest complete fix: each browsing button identifies its target through the existing localization owner, without new state, wrappers, handlers, or dependencies. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 19d311e00246. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +3, Tests +20. Total +23 across 4 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed October 18, 2026, 6:54 AM ET / 10:54 UTC (Revision 2). |
Worked on by: - @gideonpraise Co-authored-by: gideonpraise <[email protected]> OpenClaw-Publication: 48e3a85c-221d-4883-b9cf-fccc9a1a8a7d
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
What Problem This Solves
Fixes indistinguishable “Add” buttons for screen-reader users browsing Claws in Explore cards and the catalog dialog.
User Impact
Users can identify the Claw each Add button targets, for example “Add Workflow Operator.” Visible text, layout, disabled state, and details-page navigation are unchanged. No migration or user action is required.
Why This Change Was Made
Reuse the existing localization owner for an
Add {name}accessible label on both browsing buttons. This stays separate from #176088’s Usage selector fix and does not change guest access or installation behavior.The simplification pass retained only three production lines and 20 test lines: one localized string, two ARIA bindings, and a parameterized regression for the two distinct renderers. No new state, wrapper, or dependency.
Evidence
claws.add.apply.STRICT_READ_UNTRACKEDwarnings; their baseline provenance has not been established. Tests passed, but this PR does not claim to fix those warnings.CI follow-up
The initial CI test-types job found unsupported
exact: truein the newfindByRolequery (diagnostic). Removed that option; Testing Library already matches string role names exactly, so the assertion is not weakened. Production code and screenshot inputs are unchanged. Fresh P0–P2 independent review found no actionable issues. Corrected-head CI confirmed the repair: the test-types job passedtest/tsconfig/tsconfig.core.test.ui-pages.jsonwith exit code 0.After the repair, the focused suite passed 15/15 in 5.94 seconds (about 2.6 seconds test time), with formatting and whitespace checks passing. One earlier local attempt, concurrent with lint, failed the existing “updates Explore results when the search changes” assertion (0 results instead of 1); the same file/order passed without concurrent lint. The cause is not proven and the replay is not claimed as a fix. The concurrent lint run timed out at 90 seconds (exit 143); earlier targeted lint and original-head CI lint passed. Corrected-head CI now passes broad validation, including UI tests, selected UI E2E, production/test types, lint, i18n, and guards; no test timeout or assertion was loosened.
Final status: The CI gate passed on
752a7024276c1ef86fed6bc42a2bda3b1c3dc8ec, with all selected prerequisites successful and no failed or timed-out jobs. ClawSweeper re-review reviewed that same head with no findings, no before-merge actions, and sufficient proof. Its earlier “CI pending” note predates the green gate. GitHub reports the PR mergeable with a clean merge state. Merging remains the requester’s decision.Before / after accessibility evidence
In both Explore and Catalog, the browser accessibility snapshots changed from:
button "Add"/button "Add"to:
button "Add Workflow Operator": Add/button "Add Research Assistant": AddFour synthetic 1440×900 screenshots were retained and inspected. Each before/after pair is byte-identical, confirming unchanged appearance; the same uploaded bytes are reused for each pair below. The accessibility-tree excerpts above show the actual change.
Media verification: replaced broken sandbox-local chat links with hosted evidence URLs. Anonymous retrieval of both linked images returns HTTP 200 with image/png (Explore uses
?raw=1to avoid the earlier 404 response). Captures were inspected locally; this sandbox cannot inspect GitHub’s rendered page. No screenshot-preview infrastructure changes are included.Worked on by