roles-contextual.tentative.html (1118B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>Tentative: HTML-AAM Contextual-Specific Role Verification Tests</title> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <script src="/resources/testdriver.js"></script> 8 <script src="/resources/testdriver-vendor.js"></script> 9 <script src="/resources/testdriver-actions.js"></script> 10 <script src="/wai-aria/scripts/aria-utils.js"></script> 11 </head> 12 <body> 13 14 <!-- 15 New sectionheader and sectionfooter roles. 16 See https://github.com/w3c/aria/pull/1931 17 --> 18 <nav> 19 <footer data-testname="el-footer" aria-label="x" data-expectedrole="sectionfooter" class="ex">x</footer> 20 </nav> 21 <main> 22 <footer data-testname="el-footer-ancestormain" data-expectedrole="sectionfooter" class="ex">x</footer> 23 </main> 24 <nav> 25 <header data-testname="el-header" aria-label="x" data-expectedrole="sectionheader" class="ex">x</header> 26 </nav> 27 <main> 28 <header data-testname="el-header-ancestormain" data-expectedrole="sectionheader" class="ex">x</header> 29 </main> 30 31 <script> 32 AriaUtils.verifyRolesBySelector(".ex"); 33 </script> 34 35 </body> 36 </html>