Skip to content

Select-only combobox Enter interaction diverges from native select #2998

Open
@Mintoo200

Description

@Mintoo200

The Select-only combobox example states that pressing Enter on a closed combobox should "Opens the listbox without moving focus or changing selection."

The combobox pattern page does not state any specific interaction on a closed combobox when pressing Enter.

What is bothering me is that the native HTML select does nothing when the user presses Enter when the select is not associated to a form (as demonstrated in this CodePen) and submits the form when associated to one as you'd expect from any kind of input.

Is there a reason to expect Enter to open the listbox ?

Thanks !

Metadata

Metadata

Assignees

Labels

InaccuracyIncorrect statement in prose (not a code bug)P3Task force has identified as low priority at this time compared to other prioritized issuesPattern PageRelated to a page documenting a PatterneditorialChanges to prose that don't alter intended meaning, e.g., phrasing, grammar. May fix inaccuracies.

Type

No type

Projects

Status

Next Steps

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions