You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an additional data-* attribute for when users are navigating through options.
🧱 Problem Statement / Justification
Please provide valid reason(s) why this should added.
If this feaure is related to a problem you've noticed. Mention it as well
With the combobox when hovering/highlighting options I can add a nice background to showcase what option is currently highlighted. For keybaord users I'd like to add an additional accessible border like how buttons would work with focus-visible borders. But there is no way to differentiate between how a item is highlighted hover/focus-visible/typing
✅ Proposed solution or API
Please provide code snippets, gists, or links to the ideal design or API
Add a data-focus and/or data-focus-visible property to each combobox item
↩️ Alternatives
What alternative solutions have you considered before making this request?
📝 Additional Information
What resources (links, screenshots, etc.) do you have to assist this effort?
This discussion was converted from issue #2747 on October 06, 2025 16:39.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
🚀 Feature request
Add an additional
data-*
attribute for when users are navigating through options.🧱 Problem Statement / Justification
With the combobox when hovering/highlighting options I can add a nice background to showcase what option is currently highlighted. For keybaord users I'd like to add an additional accessible border like how buttons would work with focus-visible borders. But there is no way to differentiate between how a item is highlighted hover/focus-visible/typing
✅ Proposed solution or API
Add a
data-focus
and/ordata-focus-visible
property to each comboboxitem
↩️ Alternatives
📝 Additional Information
Beta Was this translation helpful? Give feedback.
All reactions