autocorrectBaseline · Newly available
The autocorrect global HTML attribute controls whether to automatically correct spelling or punctuation errors for user input.
Works in the latest version of every major browser, but older devices may not support it yet. Baseline since Sep 11, 2026.
Browser support
DesktopChrome
1–152Not supported
153+Supportedsince Sep 8, 2026
Current: 155Edge
12–152Not supported
153+Supportedsince Sep 11, 2026
Current: 154Firefox
1–135Not supported
136+Supportedsince Mar 4, 2025
Current: 157Safari
1–14Not supported
14.1+Supportedsince Apr 26, 2021
Current: 27MobileChrome Android
18–152Not supported
153+Supportedsince Sep 8, 2026
Current: 155Firefox Android
4–135Not supported
136+Supportedsince Mar 4, 2025
Current: 157Safari iOS
1–14Not supported
14.5+Supportedsince Apr 26, 2021
Current: 27How to use
Every current browser supports this, but it only became Baseline on Sep 11, 2026. Use it as a progressive enhancement, or keep a fallback if you support older devices.
Example
Full syntax and examples are on MDN: autocorrect.
Feature detection
JS · check before using
if ("HTMLElement" in globalThis && "autocorrect" in HTMLElement.prototype) {
// HTMLElement.autocorrect 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.autocorrect | 153 | 153 | 136 | 14.1 | 153 | 136 | 14.5 |
| autocorrect | 153 | 153 | 136 | 14.1 | 153 | 136 | 14.5 |