← back to v145 · focus-focusvisible-option
conformance · v145
v145 · focus-focusvisible-option — conformance probe
5 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
5
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
html-element-focus-is-function |
HTMLElement.prototype.focus is a function — the call site that now accepts focusVisible in its options. | typeof | … | |
focus-visible-pseudo-class-supported |
The :focus-visible pseudo-class is supported in CSS selectors — focusVisible:true makes the focused element match this. spec ↗ | script | … | |
focus-accepts-focus-visible-true |
Calling focus({ focusVisible: true }) on a focusable element does not throw — the option is recognised. spec ↗ | script | … | |
focus-accepts-focus-visible-false |
Calling focus({ focusVisible: false }) does not throw, and the focus ring should not be painted. spec ↗ | script | … | |
focus-options-prevent-scroll-still-supported |
The pre-existing preventScroll FocusOptions member still works — focusVisible is an additive option. | script | … |