Skip to content

fix(site): make extra roles keyboard accessible - #30342

Merged
jakehwll merged 2 commits into
mainfrom
jakehwll/fix-role-keyboard-access
Oct 5, 2026
Merged

jakehwll merged 2 commits into
mainfrom
jakehwll/fix-role-keyboard-access

Conversation

@jakehwll

@jakehwll jakehwll commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

🤖 This PR was modified by Coder Agents on behalf of Jake Howell.

The extra-role tooltip in user tables was only reachable with a mouse. Render its badge as a native button with an accessible name and focus ring, preserving hover behavior and exposing the roles on keyboard focus.

Old New
image image
Investigation and scope

Storybook stress testing reproduced Tab skipping the +2 more badge. This fix reuses the existing interactive Badge pattern and affects both deployment users and organization members through their shared role cell. Role ordering, permissions, and the other stress-test findings are unchanged.

Verified keyboard focus, Escape dismissal, subsequent Tab navigation, and hover in Chromium with dark and light themes. The added regression story was removed as requested. All four existing UsersTable stories and frontend check, lint, and format commands passed after removal.

@jakehwll
jakehwll requested review from aqandrew and aslilac October 5, 2026 07:32
@jakehwll
jakehwll marked this pull request as ready for review October 5, 2026 07:32
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 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-10-05T07:37:00.846078Z 240940b 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.

@jakehwll
jakehwll merged commit 5169248 into main Oct 5, 2026
31 checks passed
@jakehwll
jakehwll deleted the jakehwll/fix-role-keyboard-access branch October 5, 2026 23:42
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants