Repository navigation
fix(ui): restore keyboard and screen-reader session controls - #117019
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 31, 2026, 5:59 PM ET / 21:59 UTC. ClawSweeper reviewWhat this changesRestores keyboard sorting, accessible sort state and failure alerts, and distinct destructive-selection checkbox names in the Control UI Sessions workflow. Merge readinessKeep this PR open for maintainer handling. Current Priority: P2 Review scores
Verification
How this fits togetherThe Control UI Sessions page renders Gateway session data as a sortable table, expandable session details, and destructive bulk-selection controls. Page-owned state receives sort and Gateway-operation events, while the view renders the accessible controls and failure feedback operators use next. flowchart LR
A[Gateway session data] --> B[Sessions page state]
B --> C[Sessions table and details]
C --> D[Keyboard controls and alerts]
D --> E[Sort and bulk session actions]
Decision needed
Why: The source repair and reported exact-head proof are strong, but the protected label and unresolved merge-gate signal require an explicit maintainer decision rather than automated closure or dispatch. Before merge
Agent review detailsSecurityNone. PR surfaceSource +11, Tests +191. Total +202 across 4 files. View PR surface stats
Review metricsNone. Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Preserve this narrow view-layer repair, update or test the actual merge result, and land only once the affected Sessions owner and Chromium mocked-Gateway scenarios are clean on that result. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current Is this the best way to solve the issue? Yes. Adding native controls and ARIA state in the existing Sessions renderer fixes the missing semantics at their owner while retaining the complete padded header click target; moving sorting solely onto a smaller button would regress that established pointer target. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 2614251533b6. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
Merged via squash.
|
…odels-20260729 * origin/main: fix(tui): canonical terminal outcomes, cancellation, and error privacy (#117044) fix(cron): avoid phantom message tool guidance (#116908) fix(test): avoid macOS release gate deadlocks (#116972) fix(openai): canonical Chat cache-hit and billing accounting (#117043) fix(memory-wiki): salvage human Notes before pruning imported source pages (#102294) fix(memory): suggest reindex, not --fix, for a missing qmd index (#116958) chore(msteams): add private Gateway QA adapter fix(ui): make session controls and failures accessible (#117019) docs: fix tilde paths in CLI output examples (#114595) fix(plugins): canonical discovery diagnostics and deterministic lifecycles (#117025) fix(ui): honor Gateway readiness abort and subscription ownership (#117048) fix(updater): harden launchd replacement timing (#117030) fix(gateway): preserve static asset HEAD representation metadata (#117049) fix(gateway): abort embeddings when clients disconnect (#116146) fix(googlechat): retain fallback thread continuity (#117053)
Co-authored-by: Peter Steinberger <[email protected]>
What Problem This Solves
Fixes three independent accessibility failures in the default Sessions/Threads workflow:
Root Cause and Fix Ownership
The canonical Sessions view owns the missing table and alert semantics; the Sessions page continues to own sorting state, Gateway calls, and destructive actions.
buttonwithin each existing sortable table header.aria-sort="ascending"oraria-sort="descending"only on the actively sorted header.role="alert".No authorization, session mutation, sorting policy, pagination, persistence, configuration, Gateway protocol, or public SDK contract changes.
Exact-Head Baseline and Regression Proof
36b80ada3ceae2de21b3d8710b883d778e4c4578.ed6f814c6d428f1f901a748f336fd4334553e6f8.Targeted Sessions Owner Proof
The owner suite independently covers native activation for all four sort columns, active-only sort direction, preserving the entire header click target without double activation, Sessions-page and checkpoint alert ownership, and unique canonical checkbox labels.
Actual Chromium + Mocked-Gateway User Proof
The first browser scenario verifies real Space and Enter input, ascending/descending
aria-sort, one transition per interaction, a click on the original far-right padded table-header area, and distinct accessible names for both destructive-selection checkboxes. The second scenario sends a real mocked-Gateway rejection and verifies that the existing failure is exposed as an accessible alert.The complete Chromium sibling file also previously passed 10/10 on the same frozen-base candidate before the final reviewer-requested pointer-target refinement. The final refined candidate separately passed the exact 2/2 affected Chromium scenarios and 75/75 owner tests.
Additional Exact-Head Review
git diff --check: passed.gpt-5.6-solhigh-reasoning structured Codex review with--max-priority P3and official TruffleHog: clean, zero P0/P1/P2/P3 findings, confidence 0.94.ClawSweeper Rank-Up / Merge Checklist