As a site visitor, I want to be shown a "did you mean" word when I have misspelled a word within search.
GIVEN I have entered a popular misspelled word (for example: caronavirus)
WHEN the search results were returned THEN I might see text like "Did you mean coronavirus?" and when clicked able to show results for the correct search term
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
I think you need to handle this via custom javascript, where you can add some mapping of the misspelled words with the correct works and if search term matches with the list of misspelled words you can show the correct word.
The list can be updated eventually on new terms which you figure out by user search terms.
Hi,
I think you need to handle this via custom javascript, where you can add some mapping of the misspelled words with the correct works and if search term matches with the list of misspelled words you can show the correct word.
The list can be updated eventually on new terms which you figure out by user search terms.
As per the W3 spec, you can use the spellcheck attribute on HTML input fields (such as <input> and <textarea>) to toggle browser's built-in spell checker on or off. It has the following values:
<input type="text" spellcheck="true" /> <textarea spellcheck="true"></textarea>
Views
Likes
Replies