HTML5 spelling check

How does the html5 spellcheck attribute spellcheck ? I see this page with Chrome 17, which should support spellcheck on <textarea> , (but not on <input type='text'> ), but when I enter some non-words in the text box indicated on this page, I don’t I see changes.

+6
source share
3 answers

The spellcheck attribute is still poorly (if at all) implemented in browsers. For example, when I go to the page that you mention in Chrome 18 and enter misspelled words in the "This text area should be checked for incorrect words" box. The browser marks the "words" as erroneous. Double-clicking on any other word makes it marked as spelling. The explanation is that I had Spanish as a spellchecker language. Note. This language can be changed by right-clicking on the input and selecting the spell-checker options, but the change does not take effect until the page reloads.

So, check these settings in your browser. Note that a check box is set here that controls whether spell checking is used.

+1
source

See this working example applied to text area . This works in safari, chrome and firefox for me. If not, provide information about which OS you are using. Browser support is currently limited, as you can see below.

table of support

+5
source

Source: https://habr.com/ru/post/909047/


All Articles