-
Notifications
You must be signed in to change notification settings - Fork 402
Closed
Description
If you click on a field label the corresponding input gets focused and the focus ring appears.
If you use select instead of input, the behavior differs somehow. There is no visual feedback.
The select still gets the focus (after click on the label i can open it via enter, space or arrow keys), but there is no visual feedback for the user.
I can see two options:
- Add focus ring to the select (not only if focus-visible).
- Open the select on label click as done in shadcn/ui (maybe this must be supported by base-ui itself)
The current coss behavior can be seen here in the form examples: https://coss.com/ui/particles/select
The current shadcn behavior can be seen on https://ui.shadcn.com (there you can click on the month and year label and the corresponding selects opens)
Metadata
Metadata
Assignees
Labels
No labels