haikuwebkit/LayoutTests/accessibility/ios-simulator/aria-label-with-internal-te...

22 lines
666 B
Plaintext

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