Skip to content

fix(cms): support keyboard selection of content templates - #91

Merged
snowopsdev merged 1 commit into
mainfrom
codex/qa-20260905-lane07
Sep 5, 2026
Merged

fix(cms): support keyboard selection of content templates#91
snowopsdev merged 1 commit into
mainfrom
codex/qa-20260905-lane07

Conversation

@snowopsdev

Copy link
Copy Markdown
Owner

What Problem This Solves

E2E-005: the template cards on New content declare a radio group, but pressing an arrow key does not move focus or select the adjacent template. Every card also occupies a separate Tab stop, so the controls do not behave as the radio group they present to keyboard users.

Why This Change Was Made

The cards now keep one Tab stop and support wrapping arrow-key navigation. Home and End move to the first and last template. Focus and the selected template move together, while native button activation continues to support Enter and Space.

User Impact

Keyboard users can choose a content template using the expected radio-group controls and then continue to keyword or topic entry. Mouse selection and the visual layout stay the same. The change is limited to the template group; other tab controls and screen-reader behavior are outside this repair's verified coverage.

Evidence

  • Original Chromium reproduction at 56c0731: after ArrowRight, the next template reported aria-checked=false and did not receive focus.
  • The new component regression failed before the change because all three cards had tabIndex=0. It passes after the fix and covers selection, focus, a single Tab stop, wrapping arrows, Home and End.
  • Original Chromium retest passed: ArrowRight selected and focused the next template.
  • Full repository Chromium suite: 16 of 16 tests passed in 18.4 seconds against a fresh isolated migration-built database.
  • CMS typecheck, scoped ESLint and git diff --check passed. Tests used mock mode with no paid-provider calls or production writes. This draft awaits hosted CI and combined campaign verification.

Co-Authored-By: Codex <noreply@openai.com>
@snowopsdev
snowopsdev marked this pull request as ready for review September 5, 2026 03:54
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-05T03:55:57.851241Z 7e7f3b9 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@snowopsdev
snowopsdev merged commit bda8404 into main Sep 5, 2026
7 checks passed
@snowopsdev
snowopsdev deleted the codex/qa-20260905-lane07 branch September 5, 2026 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant