Repository navigation
fix(ui): make tabs, dialogs, and skill cards keyboard accessible - #106320
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5207c1adf5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| role="tabpanel" | ||
| aria-labelledby=${configSectionTabId(props.activeSection)} |
There was a problem hiding this comment.
Gate tabpanel ARIA to the tab layout
When ConfigPage renders the main Settings page it passes settingsLayout: "accordion" (ui/src/pages/config/config-page.ts:829), so the config-top-tabs__scroller that creates the config-section-tab-* ids is not rendered. This newly added panel still exposes role="tabpanel" and aria-labelledby pointing at that absent tab id, leaving screen readers with a broken tab relationship on the default Settings page. Please only emit these tabpanel/idref attributes in the tab layout, or give the accordion control matching ids.
Useful? React with 👍 / 👎.
|
Codex review: needs real behavior proof before merge. Reviewed July 13, 2026, 8:33 AM ET / 12:33 UTC. Summary PR surface: Source +170, Tests +252, Docs +1. Total +423 across 26 files. Reproducibility: yes. from source inspection: the default accordion Settings layout omits the referenced tab control while the new panel still exposes tabpanel semantics and its missing id reference. This was not executed as a live reproduction, so the structured status remains source-reproducible. Review metrics: none identified. Stored data model Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review findings
Review detailsBest possible solution: Condition the config panel’s tab semantics on the actual tab layout, remove the PR-authored changelog entry, refresh the branch, and provide a redacted real-browser keyboard recording before an explicit maintainer approves this as phase one of the linked accessibility program. Do we have a high-confidence way to reproduce the issue? Yes, from source inspection: the default accordion Settings layout omits the referenced tab control while the new panel still exposes tabpanel semantics and its missing id reference. This was not executed as a live reproduction, so the structured status remains source-reproducible. Is this the best way to solve the issue? Mostly yes. A shared keyboard helper, native action controls, and one focus-managed modal primitive are narrower and more maintainable than duplicating behavior, but the tab semantics must reflect the active layout and the real browser behavior still needs proof. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 29ac6d6c8c61. Label changesLabel justifications:
Evidence reviewedPR surface: Source +170, Tests +252, Docs +1. Total +423 across 26 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
4c8bf9e to
d6a33d5
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5a8406948d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "fallbackKeys": [], | ||
| "generatedAt": "2026-07-13T11:30:02.914Z", | ||
| "fallbackKeys": [ | ||
| "common.skipToMainContent", |
There was a problem hiding this comment.
Remove recorded locale fallback keys
When the i18n tests run, test/scripts/control-ui-i18n.test.ts:97 reads every ui/src/i18n/.i18n/*.meta.json file and asserts the collected fallbackKeys list is empty. This commit records the new English fallback labels in every generated locale metadata file, so that test now reports entries like ar:common.skipToMainContent and fails; commit only the English source strings or provide real translated artifacts with empty fallbackKeys.
Useful? React with 👍 / 👎.
0faf011 to
43ca54f
Compare
|
Merged via squash.
|
…nclaw#106320) * fix(ui): improve keyboard accessibility * fix(ui): remove unused toggle event * docs(changelog): note control UI keyboard access * chore(ui): keep release note in PR body * chore(ui): translate accessibility labels
Related: #106266
What Problem This Solves
Fixes issues where keyboard and assistive-technology users could not reliably skip navigation, activate tabbed settings, open skill cards, or dismiss and focus shared dialogs.
Why This Change Was Made
Adds a native skip link, shared keyboard tab behavior, correct tab and panel relationships, native skill-card actions, and stronger shared modal focus/dismissal behavior. This is the dependency-free accessibility foundation before the Web Awesome component migration.
User Impact
Users can reach main content immediately, move through tabs with Arrow, Home, and End keys, activate skill cards without pointer-only behavior, and use consistent modal focus, Escape, and backdrop dismissal.
Evidence
AI-assisted implementation; maintainer-directed and independently tested.