-
Notifications
You must be signed in to change notification settings - Fork 921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combo box search results do not match user expectations #5647
Comments
Assigning to @mahoneycm to add additional information. |
Adding the light landscape analysis (#338) for combo box to provide additional helpful info when thinking through a solution. Hoping to talk through some of this at a dev sync. |
W3C ARIA Keyboard BehaviorsCombobox with editable inputOur current combo box most closely matches the Editable Combobox With List Autocomplete Example found on the W3C patterns website. Keyboard behaviors
Notable differences
Select-only comboboxI wanted to include the Select-Only Combobox Example because these behaviors are closer to the behaviors mentioned in this issue. Keyboard interaction
These patterns match much closer to what the testers were expecting. The primary difference is without the editable input, we can focus on keyboard controls to iterate and search through the dropdown options. |
After discussing at a CS/UX sync, we decided we'd like to move forward with implementing a solution similar to Elastic UI's combobox where first letter navigation is prioritized, but that it also returns results with characters contained in the search terms. See meeting notes and Mural board. We're aiming to get this solution in a testable condition in time for Buffalo batch re-testing at the end of May. |
I would agree that ( when searching within combobox ) the ordering by 1. beginning of string first and 2. everything else - makes sense. Noone really searches the middle of a string. We use comboboxes and have pretty extensive lists that populate these and returning the matches in the middle of a string 'first' is just confusing. Would love to see this implemented. |
Removing the discussion label because the April 4 comment shows that this was already discussed.
@brunerae @jaclinec should we still prioritize this before the next round of testing? |
@mejiaj yes, I think we should still prioritize this work so we have a solution ready to test hopefully within the next few sprints. |
Summary
Users expect first letter navigation when they type into a combo box for selecting states or countries. In other words, if they type "T," they expect to see results of states starting with the letter T, like Tennessee, Texas, etc. The current way the combo box functions is to show all results containing the letter "t", so for example Connecticut may show up in results, confusing users.
Observations
4 out of 5 participants in usability testing were confused by the search results. They were tasked with selecting "Texas" from U.S. states combo box in a form prototype. Those 4 users typed "T" and were confused that they did not get results for only states starting with "T," and often would just scroll down the whole list to get to Texas. One users commented that that would be especially annoying if you were navigating a long list of 200+ countries.
Video clips 🔒
Affected user groups
Research method
Usability testing with 5 visually impaired participants. See findings report for details.
Recommendations for next steps
Currently there are no clear solution recommendations. The team discussed whether the unexpected behaviors could be avoided by updating the combo box results to be sorted by relevance rather than alphabetically. Another possibility is adding screen reader instructions to enter a search term. Is it possible or recommended to implement first-letter navigation?
Next steps
Decide on a solution to mitigate the friction users experience with unexpected search results and test it again in a new round of usability testing.
The text was updated successfully, but these errors were encountered: