tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

list-roles.tentative.html (1066B)


      1 <!doctype html>
      2 <html>
      3 <head>
      4  <title>Tentative: List-related 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  CORE-AAM requires that, for elements with roles not contained in the
     16  required context, user agents must ignore the role token and return the
     17  computed role as if the ignored role token had not been included.
     18  See https://w3c.github.io/core-aam/#roleMappingComputedRole
     19 -->
     20 <div role="listitem" data-testname="orphan div with listitem role" class="ex-generic">x</div>
     21 <p role="listitem" data-testname="orphan p with listitem role" data-expectedrole="paragraph" class="ex">x</p>
     22 
     23 <script>
     24 AriaUtils.verifyRolesBySelector(".ex");
     25 AriaUtils.verifyGenericRolesBySelector(".ex-generic");
     26 </script>
     27 
     28 </body>
     29 </html>