Repository navigation
fix(site/src): make keyboard-inaccessible controls operable by keyboard - #31656
Merged
Merged
Conversation
Focus the listbox in search-less comboboxes, let the date range picker focus its selected quick range, keep the inbox mark-as-read button in the tab order, render workspace breadcrumb triggers as buttons, drop the span-backed Back button, and make timing stage info icons and resource bars focusable.
aqandrew
marked this pull request as ready for review
November 3, 2026 00:44
jeremyruppel
approved these changes
Nov 4, 2026
jeremyruppel
left a comment
Collaborator
There was a problem hiding this comment.
code looks great, so 👍 from me! i'm guessing we also need Design 👀 on the focus rings?
tracyjohnsonux
approved these changes
Nov 4, 2026
tracyjohnsonux
left a comment
Collaborator
There was a problem hiding this comment.
I'm ignoring some of the odd screens that the agent added to confuse me. All good!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes the controls that the Deque audit flagged as
keyboard-inaccessible(WCAG 2.1.1) reachable and operable with the keyboard alone.SelectFilterstatus, action, and resource type menus): on open, focus moves to the command listbox instead of the popover, so the arrow keys and Enter now work. The listbox does not draw its own outline because the highlighted option already has a ring.display: none) until the item is hovered or contains focus, so it stays in the tab order.<button>s instead of<span>s. This also clears 3 criticalaria-allowed-attraxe violations on main:spanrendered throughasChild.InfoTooltip(a focusable button), and resource bars are focusable like the script bars.Closes DEQ-198
Closes DEQ-214
Closes DEQ-289
Closes DEQ-338
Closes DEQ-394
Closes DEQ-502
Closes DEQ-542
Closes DEQ-545
Refs DEQ-493
+N moreroles) was already fixed on main by #30342.Screenshots
From Storybook, main (before) versus this branch (after).
Not fixed here (DEQ-493 stays open):
WorkspaceBuildData): the icon sits inside the build row's<a>in both callers, so a focusable trigger would nest one interactive control inside another. Fixing it needs a layout change that moves the icon out of the link, or a different way to show the reason.Review findings not acted on:
to="". This is pre-existing and out of scope.InfoTooltipfocus ring is clipped by the YAxisLabeloverflow-hidden. The focused-stage story is there for Pixel to show it.aria-dialog-name(popover),scrollable-region-focusable(SelectFilter list),list(timings).Grouping and decision log
keyboard-inaccessiblelabel, following the one-PR-per-axe-rule convention. About 89 non-test lines, all undersite/.ComboboxContent, so every search-less combobox gets it. It only takes over auto-focus when no[cmdk-input]is present and the caller has not prevented it.preventDefaultononOpenAutoFocusdates from feat(site/src/components): add date-time range picker with quick picks #28392. Without it, Radix focuses the first tabbable element, which is the selected radio.SelectFilter.test.tsx, plus one inDateTimeRangePicker.test.tsx) fail on main and pass here. New focus-state stories (UnreadFocused,WorkspaceBreadcrumbFocused,StageInfoFocused,ResourceBarFocused) only set up focus for Pixel screenshots.pnpm check,pnpm lint,pnpm format, the targeted unit tests (245 passed), Storybook tests for the affected areas (296 passed), the frontend-review FE1–FE10 audit, and frontend-deep-review. Applied its fixes:InfoTooltipinstead of a hand-rolled trigger, anot-*variant instead ofnot-sr-only, focusing the cmdk list, and stories with no play assertions.🤖 Generated by Coder Agents on behalf of @aqandrew.