This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The forceSpellCheck() method of the HTMLElement interface forces a spelling and grammar check on HTML elements, even if the user has not focused on the elements. This method overrides user agent behavior. The specific user interface of the check, for example whether red underlining appears, is determined by the user agent.



Browser compatibility

BCD tables only load in the browser

See also