Skip to content

feat: #8007 ComboBox Autofocus on First List item when ListBox is filtered - #10398

Open
jsmitrah wants to merge 6 commits into
adobe:mainfrom
jsmitrah:feature/8007/combo-box-auto-focus-first-list-item
Open

feat: #8007 ComboBox Autofocus on First List item when ListBox is filtered#10398
jsmitrah wants to merge 6 commits into
adobe:mainfrom
jsmitrah:feature/8007/combo-box-auto-focus-first-list-item

Conversation

@jsmitrah

@jsmitrah jsmitrah commented Jul 30, 2026

Copy link
Copy Markdown

Closes #8007

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

  • Use the ComboBox with multiple options.
  • Search for a particular option; the option will be autofocused.

🧢 Your Project:

@jsmitrah
jsmitrah marked this pull request as draft July 30, 2026 11:13
@jsmitrah jsmitrah changed the title added autoFocusFirst props to autofocus on first list item when ListB… feat: #8007 ComboBox Autofocus on First List item when ListBox is filtered Jul 30, 2026
@jsmitrah
jsmitrah marked this pull request as ready for review July 30, 2026 14:18
@LFDanLu

LFDanLu commented Aug 6, 2026

Copy link
Copy Markdown
Member

@jsmitrah just curious, but have you tested this behavior with various screenreaders yet? The main reason this wasn't implemented as default behavior was issues with NVDA in Firefox where the user would no longer get notifications of where the text cursor was being moved via Left/Right Arrow if a item was being focused in the menu, so we'll want to double check that and do a full sweep across other screen readers as behavior may have drifted since then

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.

ComboBox: autofocus on first list item when ListBox is filtered (matching Autocomplete behaviour)

2 participants