blob: 4ffc56404ea9d18fb7257b94697ea9f5618604d3 [file] [log] [blame]
This tests that changing the text in headings by four different DOM methods, results on the corresponding text being retrieved via the accessibility property.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
h1
AXValue: 1
AXValue: original text
h2
AXValue: 2
AXValue: original text
h3
AXValue: 3
AXValue: original text
divheading
AXValue: 2
AXValue: original text
h1
AXValue: 1
AXValue: innerHTML
h2
AXValue: 2
AXValue: innerHTML
h3
AXValue: 3
AXValue: innerHTML
divheading
AXValue: 2
AXValue: innerHTML
h1
AXValue: 1
AXValue: innerText
h2
AXValue: 2
AXValue: innerText
h3
AXValue: 3
AXValue: innerText
divheading
AXValue: 2
AXValue: innerText
h1
AXValue: 1
AXValue: textContent
h2
AXValue: 2
AXValue: textContent
h3
AXValue: 3
AXValue: textContent
divheading
AXValue: 2
AXValue: textContent
h1
AXValue: 1
AXValue: firstChild.data
h2
AXValue: 2
AXValue: firstChild.data
h3
AXValue: 3
AXValue: firstChild.data
divheading
AXValue: 2
AXValue: firstChild.data
PASS successfullyParsed is true
TEST COMPLETE
firstChild.data
firstChild.data
firstChild.data
firstChild.data