:focus-visible CSS pseudo-class

- WD

The :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

  1. 4 - 66: Not supported
  2. 67 - 85: Disabled by default
  3. 86 - 124: Supported
  4. 125: Supported
  5. 126 - 128: Supported

Edge

  1. 12 - 18: Not supported
  2. 79 - 85: Disabled by default
  3. 86 - 124: Supported
  4. 125: Supported

Safari

  1. 3.1 - 14.1: Not supported
  2. 15 - 15.3: Disabled by default
  3. 15.4 - 17.4: Supported
  4. 17.5: Supported
  5. 17.6 - TP: Supported

Firefox

  1. 2 - 3.6: Not supported
  2. 4 - 84: Supported
  3. 85 - 125: Supported
  4. 126: Supported
  5. 127 - 129: Supported

Opera

  1. 9 - 65: Not supported
  2. 66 - 71: Disabled by default
  3. 72 - 108: Supported
  4. 109: Supported

IE

  1. 5.5 - 10: Not supported
  2. 11: Not supported

Chrome for Android

  1. 125: Supported

Safari on iOS

  1. 3.2 - 14.8: Not supported
  2. 15 - 15.3: Disabled by default
  3. 15.4 - 17.4: Supported
  4. 17.5: Supported
  5. 17.6: Supported

Samsung Internet

  1. 4 - 13.0: Not supported
  2. 14.0 - 23: Supported
  3. 24: Supported

Opera Mini

  1. all: Not supported

Opera Mobile

  1. 10 - 12.1: Not supported
  2. 80: Supported

UC Browser for Android

  1. 15.5: Not supported

Android Browser

  1. 2.1 - 4.4.4: Not supported
  2. 125: Supported

Firefox for Android

  1. 126: Supported

QQ Browser

  1. 14.9: Not supported

Baidu Browser

  1. 13.52: Supported

KaiOS Browser

  1. 2.5: Supported
  2. 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.