DEV Community

Discussion on: The problem with autocomplete and how to fix it

Collapse
 
savvasstephnds profile image
Savvas Stephanides

Thanks Giorgo! πŸ˜ƒ

Very good question!

The reason I haven’t included the results themselves is because the search could potentially return 10-20 results or even more. If the screen reader reads every single result, it will overwhelm the user. So a much simpler β€œ2 results found” etc. is much better.

Collapse
 
giorgosk profile image
Giorgos Kontopoulos πŸ‘€

Thanks I got it
Perhaps one can include the results only if it is 1 or 2 to help further with accesibility.

Thread Thread
 
savvasstephnds profile image
Savvas Stephanides

That’s actually not a bad idea πŸ˜ƒπŸ‘