This test checks that a script focus when the user hasn't interacted with the page yet, always matches :focus-visible. | |
If the element that says "Focused" has a red background then the test result is FAILURE, if it has a green outline then the test result is SUCCESS. | |
Focused | |
PASS ":focus-visible" should be a valid selector | |
PASS Script focus without any previous user interaction matches :focus-visible | |