blob: 27d6092ab49416e19d792c30ec79467d0fc922df [file] [log] [blame]
1
1
text1
link1
This tests that if an element has aria-label, it will override the visible text as necessary.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Button 1 should expose alternative text only.
PASS button1.description is 'AXLabel: PLAY'
Button 2 should expose internal text only.
PASS button2.description is 'AXLabel: 1'
Text 1 should rely on the stringValue() in the label field.
PASS text1.description is 'AXLabel: text1'
Link1 should combine the title field and the aria-label field.
FAIL link1.description should be AXLabel: link1, link1-title. Was AXLabel: link1.
PASS successfullyParsed is true
TEST COMPLETE