tor-browser

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

grid-roles.tentative.html (1614B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>Tentative: Grid 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  <span role="row" data-testname="orphaned row outside the context of table" class="ex-generic">x</span>
     21  <span role="rowgroup" data-testname="orphaned rowgroup outside the context of row" class="ex-generic">x</span>
     22  <div role="gridcell" data-testname="orphaned div with gridcell role outside the context of row" class="ex-generic">x</div>
     23  <button role="gridcell" data-testname="orphaned button with gridcell role outside the context of row" data-expectedrole="button" class="ex">x</button>
     24  <div role="rowheader" data-testname="orphaned rowheader outside the context of row" class="ex-generic">x</div>
     25  <div role="columnheader" data-testname="orphaned columnheader outside the context of row" class="ex-generic">x</div>
     26 
     27 <script>
     28 AriaUtils.verifyRolesBySelector(".ex");
     29 AriaUtils.verifyGenericRolesBySelector(".ex-generic");
     30 </script>
     31 
     32 </body>
     33 </html>