:focus-visible CSS pseudo-class
- WDThe :focus-visible
pseudo-class applies while an element matches the :focus
pseudo-class, and the UA determines via heuristics that the focus should be specially indicated on the element (typically via a “focus ring”).
Chrome
- 4 - 66: Not supported
- 67 - 85: Disabled by default
- 86 - 118: Supported
- 119: Supported
- 120 - 122: Supported
Edge
- 12 - 18: Not supported
- 79 - 85: Disabled by default
- 86 - 118: Supported
- 119: Supported
Safari
- 3.1 - 14.1: Not supported
- 15 - 15.3: Disabled by default
- 15.4 - 17.0: Supported
- 17.1: Supported
- 17.2 - TP: Supported
Firefox
- 2 - 3.6: Not supported
- 4 - 84: Supported
- 85 - 119: Supported
- 120: Supported
- 121 - 123: Supported
Opera
- 9 - 65: Not supported
- 66 - 71: Disabled by default
- 72 - 103: Supported
- 104: Supported
IE
- 5.5 - 10: Not supported
- 11: Not supported
Chrome for Android
- 119: Supported
Safari on iOS
- 3.2 - 14.8: Not supported
- 15 - 15.3: Disabled by default
- 15.4 - 17.0: Supported
- 17.1: Supported
- 17.2: Supported
Samsung Internet
- 4 - 13.0: Not supported
- 14.0 - 22: Supported
- 23: Supported
Opera Mini
- all: Not supported
Opera Mobile
- 10 - 12.1: Not supported
- 73: Supported
UC Browser for Android
- 15.5: Not supported
Android Browser
- 2.1 - 4.4.4: Not supported
- 119: Supported
Firefox for Android
- 119: Supported
QQ Browser
- 13.1: Not supported
Baidu Browser
- 13.18: Supported
KaiOS Browser
- 2.5: Supported
- 3: Supported
Previously drafted as :focus-ring
- Resources:
- Chrome does not support CSS Selectors 4 :focus-visible
- WebKit bug #185859: [selectors] Support for Focus-Indicated Pseudo-class: `:focus-visible`
- Bugzilla: Add :focus-visible (former :focus-ring)
- Bugzilla: implement :focus-visible pseudo-class (rename/alias :-moz-focusring)
- Mozilla Developer Network (MDN) documentation - :-moz-focusring
- Prototype for `:focus-visible`
- Blink: Intent to implement :focus-visible pseudo class.