Repository navigation
Conversation
Keep cmdk aria-selected state for the active option while exposing the persisted choice through aria-current and a value-bearing project trigger name. Apply the same current-option semantics to the parent thread picker.
ymichael
deleted the
bb/fixer-correct-project-picker-accessibility-state-thr_7ayvw9d5ev
branch
September 2, 2026 18:17
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Human comments
What was wrong
The searchable Project picker used cmdk's moving
aria-selectedstate as its only option-selection signal after #2939. That state identifies the keyboard-highlighted row, not the persisted project value, so assistive technology could report Alpha selected while Charlie was the actual checked project; the trigger also exposed only the generic name “Project.” Parent Thread had the same current-value ambiguity.What changed
aria-current.aria-selectedbehavior for the movable keyboard highlight.This is semantically separate from #2943's open search-matching change and composes with it. No daemon wire contract, server API, public Plugin SDK API, CLI, documentation, or protocol version changed.
How you verified
pnpm exec turbo run test --filter=@bb/app --force -- --run src/components/pickers/ProjectSelector.test.tsx src/components/pickers/ParentThreadPicker.test.tsx— 11 tests passed.pnpm exec turbo run typecheck --filter=@bb/app— passed.pnpm exec oxfmt --check apps/app/src/components/pickers/ProjectSelector.tsx apps/app/src/components/pickers/ProjectSelector.test.tsx apps/app/src/components/pickers/ParentThreadPicker.tsx apps/app/src/components/pickers/ParentThreadPicker.test.tsx— passed.git diff --check origin/main...HEAD— passed.