blob: 59ad304e9a0ae0068fb1feeb9905dcd208b81352 [file] [log] [blame]
This tests that the 'figure' element is accessible on iOS.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Test figure with aria-label.
figure1: [object AccessibilityUIElement]
figure1 AXRoleDescription: figure
figure1 AXLabel: Figure 1.
figure1 AXHint:
PASS !titleUIElement is true
Test figure with title attribute.
figure2: [object AccessibilityUIElement]
figure2 AXRoleDescription: figure
figure2 AXLabel: Figure 2.
figure2 AXHint:
PASS !titleUIElement is true
Test figure with aria-describedby.
figure3: [object AccessibilityUIElement]
figure3 AXRoleDescription: figure
figure3 AXLabel:
figure3 AXHint: This is the description for Figure 3.
PASS !titleUIElement is true
Test figure with aria-roledescription attribute.
figure4: [object AccessibilityUIElement]
figure4 AXRoleDescription: ARIA role description for Figure 4.
figure4 AXLabel:
figure4 AXHint:
PASS !titleUIElement is true
Test figure with figcaption element.
figure5: [object AccessibilityUIElement]
figure5 AXRoleDescription: figure
figure5 AXLabel: Caption for Figure 5.
figure5 AXHint:
PASS titleUIElement.isEqual(figureCaption) is true
Test figure with figcaption element and title attribute.
figure6: [object AccessibilityUIElement]
figure6 AXRoleDescription: figure
figure6 AXLabel: Caption for Figure 6.
figure6 AXHint: Figure 6.
PASS titleUIElement.isEqual(figureCaption) is true
PASS successfullyParsed is true
TEST COMPLETE