HTMLElement.forceSpellCheck()

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

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 user interface of the check, for example whether red underlining appears, is determined by the user agent.

Syntax

element.forceSpellCheck()

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support No No No No No ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes Yes Yes4 ? ? ?

See Also

Document Tags and Contributors

Contributors to this page: sideshowbarker, fscholz, alicebeckett, teoli
Last updated by: sideshowbarker,