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
Our 4 ListBox variants behavior is different to open the menu. Some open on enter, some on space, some on down arrow. Comment from @mbgower from the original issue:
Say, while doing so, and comparing interaction across all these things I noticed that pressing Enter was NOT opening the filtering multiselect listbox when it had focus. I thought it should, so went and looked at the others just to make sure everything was consistent. While doing so, noticed a couple of other things (sorry!):
On your dropdown, Enter works fine to toggle the list open (and put focus on the item selected) and closed. I noticed that Down Arrow on a closed dropdown is opening but ALSO advancing past the currently selected item. I don't think that should happen. We definitely want the down arrow to open the listbox, but my expectation is that the action is identical to the Enter key: opens listbox and puts focus on the currently selected item. I think the APG select-only comboxbox reflects this pattern pretty accurately. BTW, I think I had an existing ticket on this one.
Your default multiselect is opening on Enter, but not opening on Down Arrow. (the complete opposite of the filerable variant.) Any reason for that? My expectation would be that the Enter would reveal the listbox, as would the Down Arrow. Unfortunately, there's really nothing directly parallel to this in the APG.
Still talking about the multiselect, the behaviour on open has some considerations. Normally I'd expect the list to open with the focus going to the first item (And BTW, the behaviour with multiselect is that where something is already selected it becomes the first item). However, because Enter is also used to select, this gets a little tricky. If the focus goes to something in the list, a user trying to toggle the list closed by pressing Enter could inadvertently either select the first unselected item or unselect the first selected item. So, my inclination is to say that opening a multiselect with Enter should open the list, but not put focus inside the list. The user would have to arrow down to select items. I'd invite discussion on this. IF the multiselect is opened with the Down Arrow, I think I'd expect regular behaviour: open and move focus to first item.
And just to return to the top of this comment, I confirm my expectation that the filtering multiselect should open on Enter
The solution
We need to identify and implement the correct behaviors for opening all ListBox variants and align them as best as possible.
The keys that can be used:
Space
Enter
Down Arrow
The variants:
ComboBox
Dropdown
FilterableMultiselect
Multiselect
Examples
No response
Application/PAL
No response
Business priority
Medium Priority = upcoming release but is not pressing
The problem
Originally brought up in #12596
Our 4
ListBox
variants behavior is different to open the menu. Some open on enter, some on space, some on down arrow. Comment from @mbgower from the original issue:The solution
We need to identify and implement the correct behaviors for opening all ListBox variants and align them as best as possible.
The keys that can be used:
The variants:
ComboBox
Dropdown
FilterableMultiselect
Multiselect
Examples
No response
Application/PAL
No response
Business priority
Medium Priority = upcoming release but is not pressing
Available extra resources
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: