blob: 28a5c4e3c2ebe9ee17446dbdd5dad5545223650b [file] [log] [blame] [edit]
header
footer
section
article
nav
aside
Should be IGNORED because it's inside an article, so it should not be a landmark
Should be IGNORED because it's inside an article, so it should not be a landmark
Should be IGNORED because it's inside a section, so it should not be a landmark
Should be IGNORED because it's inside a section, so it should not be a landmark
Should be IGNORED because it's inside a main, so it should not be a landmark
Should be IGNORED because it's inside a main, so it should not be a landmark
This tests that the HTML5 section elements map to the correct AX roles.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS body.childAtIndex(0).subrole is 'AXSubrole: AXLandmarkBanner'
PASS body.childAtIndex(1).subrole is 'AXSubrole: AXLandmarkContentInfo'
PASS body.childAtIndex(2).subrole is 'AXSubrole: '
PASS body.childAtIndex(3).subrole is 'AXSubrole: AXDocumentArticle'
PASS body.childAtIndex(4).subrole is 'AXSubrole: AXLandmarkNavigation'
PASS body.childAtIndex(5).subrole is 'AXSubrole: AXLandmarkComplementary'
PASS body.childAtIndex(6).domIdentifier is 'article'
PASS body.childAtIndex(6).childAtIndex(0).domIdentifier is 'article_header'
PASS body.childAtIndex(6).childAtIndex(0).role is 'AXRole: AXGroup'
PASS body.childAtIndex(6).childAtIndex(0).subrole is 'AXSubrole: '
PASS body.childAtIndex(6).childAtIndex(1).domIdentifier is 'article_footer'
PASS body.childAtIndex(6).childAtIndex(1).role is 'AXRole: AXGroup'
PASS body.childAtIndex(6).childAtIndex(1).subrole is 'AXSubrole: AXFooter'
PASS body.childAtIndex(7).domIdentifier is 'section_header'
PASS body.childAtIndex(7).role is 'AXRole: AXGroup'
PASS body.childAtIndex(7).subrole is 'AXSubrole: '
PASS body.childAtIndex(8).domIdentifier is 'section_footer'
PASS body.childAtIndex(8).role is 'AXRole: AXGroup'
PASS body.childAtIndex(8).subrole is 'AXSubrole: AXFooter'
PASS body.childAtIndex(9).domIdentifier is 'main'
PASS body.childAtIndex(9).childAtIndex(0).domIdentifier is 'main_header'
PASS body.childAtIndex(9).childAtIndex(0).role is 'AXRole: AXGroup'
PASS body.childAtIndex(9).childAtIndex(0).subrole is 'AXSubrole: '
PASS body.childAtIndex(9).childAtIndex(1).domIdentifier is 'main_footer'
PASS body.childAtIndex(9).childAtIndex(1).role is 'AXRole: AXGroup'
PASS body.childAtIndex(9).childAtIndex(1).subrole is 'AXSubrole: AXFooter'
PASS successfullyParsed is true
TEST COMPLETE