blob: f22de0bfa7dfa8df6e905e7fdb31348a8a675b00 [file] [log] [blame]
This test makes sure that a generic focusable div can get accessibility focus. It should not get accessible text from its children automatically though.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.activeElement == link is true
PASS lastChar(axLink.title) is "A"
PASS document.activeElement == div is true
PASS lastChar(axDiv.title) is ' '
PASS document.activeElement == div2 is true
PASS lastChar(axDiv2.title) is ' '
PASS document.activeElement == div3 is true
PASS lastChar(accNameForDiv3) is "D"
PASS document.activeElement == div4 is true
PASS axDiv4.title.indexOf('Link') is -1
PASS document.activeElement == div5 is true
PASS axDiv5.title.indexOf('Link') is -1
PASS axDiv5.title.indexOf('Initial text before link') >= 0 is false
PASS document.activeElement == div6 is true
PASS axDiv6.title.indexOf('List item') is -1
PASS document.activeElement == div7 is true
PASS axDiv7.title.indexOf('List item') is -1
PASS axDiv7.title.indexOf('Initial text before list') >= 0 is false
PASS successfullyParsed is true
TEST COMPLETE