spellcheckBaseline · Widely available
The spellcheck global HTML attribute sets whether the browser may check an element for spelling errors.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Nov 28, 2017. Widely available since May 28, 2020.
Browser support
DesktopChrome
1–8Not supported
9+Supportedsince Feb 3, 2011
Current: 155Edge
12+Supportedsince Jul 29, 2015
Current: 154Firefox
1–1.5Not supported
2+Supportedsince Oct 24, 2006
Current: 157Safari
1–5Not supported
5.1+Supportedsince Jul 20, 2011
Current: 27MobileChrome Android
18–46Not supported
47+Supportedsince Dec 2, 2015
Current: 155Firefox Android
4–56Not supported
57+Supportedsince Nov 28, 2017
Current: 157Safari iOS
1–4.2Not supported
5+Supportedsince Oct 12, 2011
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: spellcheck.
Feature detection
JS · check before using
if ("HTMLElement" in globalThis && "spellcheck" in HTMLElement.prototype) {
// HTMLElement.spellcheck is available
}Documentation (MDN)
Specification
Sub-features
Support for each part of the feature (2). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| HTMLElement.spellcheck | 9 | 12 | 2 | 5.1 | 18 | 4 | 5 |
| spellcheck | 9 | 12 | 2 | 5.1 | 47 | 57 | 5 |