blob: 26e187579ede691c41d09b6b444f1e481a6b2ee5 [file] [log] [blame]
link1
heading1
This tests that accessibilityElementDidBecomeFocused will be propagated to the correct parent and cause DOM focus to fire on the correct elements.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS textInsideLink.description is 'AXLabel: link1'
PASS accessibilityController.focusedElement.childAtIndex(0).isEqual(textInsideLink) is true
PASS textInsideHeading.description is 'AXLabel: heading1'
PASS accessibilityController.focusedElement.childAtIndex(0).isEqual(textInsideHeading) is true
PASS successfullyParsed is true
TEST COMPLETE