Skip to content

chore: rebase Select a11y/typeahead (#635) onto dev tip - #822

Closed
johnleider wants to merge 3 commits into
devfrom
cursor/rebase-select-a11y-1d5b
Closed

chore: rebase Select a11y/typeahead (#635) onto dev tip#822
johnleider wants to merge 3 commits into
devfrom
cursor/rebase-select-a11y-1d5b

Conversation

@johnleider

Copy link
Copy Markdown
Member

This branch carries the exact commits from PR #635 rebased onto the current dev tip.

Purpose

PR #635 (Select a11y/typeahead) was 122 commits behind dev. This branch brings it current without force-pushing to the contributor's fork.

Changes

Cherry-picked from #635 (authored by @sridhar-3009):

  • feat(Select): add aria-label prop and printable-char typeahead to SelectActivator
  • test(select): add coverage for typeahead and aria-label features
  • chore: add changeset for Select aria-label and typeahead

CI Note

The original PR only ran sparse checks because pr-checks.yml triggers only on PRs targeting master, not dev. This PR targets dev as well, so the same limitation applies. Consider updating .github/workflows/pr-checks.yml to include dev in the branches array for full CI coverage on feature PRs.

Review

No code changes from #635. This is purely a rebase. Once merged, #635 can be closed as superseded.

Closes #610

Open in Web Open in Cursor 

Add browser tests for SelectActivator.label (aria-label prop) and the
typeahead keyboard handler that delegates to useVirtualFocus.typeahead.

The typeahead test mounts with attachTo: document.body so that items are
in the live document and document.querySelector resolves element refs,
which is required for applyHighlight to succeed.

Add unit tests for useVirtualFocus.typeahead: forward search from current
position, case-insensitive matching, wrap-around, disabled item skipping,
no-match no-op, all-disabled early return, and el-less item handling.
@johnleider
johnleider marked this pull request as ready for review August 12, 2026 06:04
@johnleider
johnleider marked this pull request as draft August 16, 2026 22:47
@johnleider johnleider closed this Aug 17, 2026
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.

2 participants