This test checks that by default, if using JavaScript to focus an element triggers :focus-visible
matching, then the element should show a focus ring with outline-style: auto
.
outline-style: auto
, then the test result is SUCCESS.Your user-agent does not support :focus-visible
pseudo-class, please SKIP this test.
Harness status: OK
Found 2 tests
Result | Test Name | Message | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Pass | ":focus-visible" should be a valid selector | Asserts run
| ||||||||||||||||
Pass | By default initial programatic focus matches ':focus-visible', so the element shows a focus ring with 'outline-style: auto' | Asserts run
|