Baseline Widely DOM API
api.HTMLElement.autofocus
Granular MDN Browser Compat Data support history across 14 tracked browsers.
Specification Area
DOM API
Standard track
First Core Launch
Chrome 79
2019-12-10
Core-3 Stability
1,162d (3.2y)
Last: Firefox (2023-02-14)
Baseline Feature
Widely
autofocus
Browser Support Timeline
Notes (1)
Chrome, Firefox, Safari, Edge, Chr And, FF And, Saf iOS, WV And, WV iOS, Samsung, Opera, Op And, Quest, IE: Supported forHTMLButtonElement, HTMLInputElement, HTMLSelectElement, and HTMLTextAreaElement.Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 79 | 2019-12-10 | Supported |
| Firefox | desktop | 110 | 2023-02-14 | Supported |
| Safari | desktop | 15.4 | 2022-03-14 | Supported |
| Edge | desktop | 79 | 2020-01-15 | Supported |
| Chrome Android | mobile | 79 | 2019-12-17 | Supported |
| Firefox for Android | mobile | 110 | 2023-02-14 | Supported |
| Safari on iOS | mobile | 15.4 | 2022-03-14 | Supported |
| WebView Android | mobile | 79 | 2019-12-17 | Supported |
| WebView on iOS | mobile | 15.4 | 2022-03-14 | Supported |
| Samsung Browser | mobile | 12.0 | 2020-06-19 | Supported |
| Opera | desktop | 66 | 2020-01-07 | Supported |
| Opera Android | mobile | 57 | 2020-03-30 | Supported |
| Deno | server | — | — | — |
| Node.js | server | — | — | — |
| Bun | server | — | — | — |
| Quest Browser | xr | 8.0 | 2020-02-10 | Supported |
| Internet Explorer | desktop | 10 | 2012-10-26 | Supported |