-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Labels
Area: ComponentsRelated to the component library (core) of this systemRelated to the component library (core) of this systemStatus: Pls CRThis PR is ready for Code ReviewsThis PR is ready for Code ReviewsType: BugSomething isn't workingSomething isn't working
Description
Description
When I inspect the HTML of the combobox output I expect to see:
- An input with the role of select (or maybe button?).
- A role of none when using autocomplete behavior. (datalist is not native behavior).
Instead I see: - A duplicated
aria-labeledby
aria attribute that should already be handled by the real label component. - A role of "autocomplete" regardless if the combobox can be typed into.
Link to Reproduction
https://paste.twilio.design/components/combobox
Steps to reproduce
- Go to 'https://paste.twilio.design/components/combobox#basic-combobox'
- Inspect Element.
- Go to 'https://paste.twilio.design/components/combobox#autocomplete-combobox'
- Inspect Element.
Paste Core Version
latest
Browser
Google Chrome 123.0.6312.124
Operating System
- macOS
- Windows
- Linux
Additional Information
If we build these non native components that replicate native elements we need to ensure that we make it accessible to how users normally interact with these components.
Metadata
Metadata
Assignees
Labels
Area: ComponentsRelated to the component library (core) of this systemRelated to the component library (core) of this systemStatus: Pls CRThis PR is ready for Code ReviewsThis PR is ready for Code ReviewsType: BugSomething isn't workingSomething isn't working