We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

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()

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'HTMLElement.forceSpellCheck()' in that specification.
Living Standard Initial definition
HTML 5.1
The definition of 'HTMLElement.forceSpellCheck' in that specification.
Recommendation First W3C snapshot of HTML Living Standard with the method defined in it.

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: fscholz, alicebeckett, teoli
Last updated by: fscholz,