blob: 1697be8222d380a36d97713c24863d5a066c93de [file] [log] [blame]
This test ensures that making an element focused via accessibility (e.g. full keyboard access) re-focuses the page so that a focus ring can be drawn.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS getComputedStyle(button).getPropertyValue('outline-width') is '0px'
PASS getComputedStyle(textInput).getPropertyValue('outline-width') is '0px'
Taking focus via accessibilityController for id #button
PASS getComputedStyle(button).getPropertyValue('outline-width') is '3px'
PASS getComputedStyle(textInput).getPropertyValue('outline-width') is '0px'
Taking focus via accessibilityController for id #text-input
PASS getComputedStyle(button).getPropertyValue('outline-width') is '0px'
PASS getComputedStyle(textInput).getPropertyValue('outline-width') is '3px'
Making the entire page un-focused
Taking focus via accessibilityController for id #button
PASS getComputedStyle(button).getPropertyValue('outline-width') is '3px'
PASS getComputedStyle(textInput).getPropertyValue('outline-width') is '0px'
PASS successfullyParsed is true
TEST COMPLETE
Click me