tor-browser

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

aria-haspopup_false-manual.html (1589B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>aria-haspopup=false</title>
      5    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
      6    <link rel="stylesheet" href="/wai-aria/scripts/manual.css">
      7    <script src="/resources/testharness.js"></script>
      8    <script src="/resources/testharnessreport.js"></script>
      9    <script src="/wai-aria/scripts/ATTAcomm.js"></script>
     10    <script>
     11    setup({explicit_timeout: true, explicit_done: true });
     12 
     13    var theTest = new ATTAcomm(
     14    {
     15   "steps" : [
     16      {
     17         "element" : "test",
     18         "test" : {
     19            "ATK" : [
     20               [
     21                  "property",
     22                  "states",
     23                  "doesNotContain",
     24                  "STATE_HAS_POPUP"
     25               ]
     26            ],
     27            "IAccessible2" : [
     28               [
     29                  "property",
     30                  "objectAttributes",
     31                  "contains",
     32                  "haspopup:false"
     33               ]
     34            ],
     35            "MSAA" : [
     36               [
     37                  "property",
     38                  "states",
     39                  "doesNotContain",
     40                  "STATE_SYSTEM_HASPOPUP"
     41               ]
     42            ]
     43         },
     44         "title" : "step 1",
     45         "type" : "test"
     46      }
     47   ],
     48   "title" : "aria-haspopup=false"
     49 }
     50 
     51    ) ;
     52    </script>
     53  </head>
     54  <body>
     55  <p>This test examines the ARIA properties for aria-haspopup=false.</p>
     56    <div role='button' id='test' aria-haspopup='false'>content</div>
     57 
     58  <div id="manualMode"></div>
     59  <div id="log"></div>
     60  <div id="ATTAmessages"></div>
     61  </body>
     62 </html>