Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.58k stars 799 forks source link

Instant Search: clarify display of spelling correction #20801

Open annacmc opened 3 years ago

annacmc commented 3 years ago

Impacted plugin

Jetpack

What

The spelling enhancement could be clearer, perhaps more akin to Google's "did you mean..." instead

How

Currently if you search for a term which doesn't exist, but is similar to a word which does exist it shows "no results" for the non-existent term, then the results for the similar term below. Example:

image

It is not immediately clear that it is suggesting a similar term, and instead looks like it may be returning two queries at once. This could be improved with some styling and/or wording changes to the spelling enhancement. An example of this would be Google's 'did you mean':

image

gibrown commented 3 years ago

Google now uses this though:

Screen Shot 2021-08-24 at 9 55 25 AM

We could maybe play with colors, bolding, etc though. I think the "Did you mean" really only makes sense if we are going to force the user to click on the suggestion.