tor-browser

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

aria-pressed_true-manual.html (2116B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>aria-pressed=true</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                  "contains",
     24                  "STATE_PRESSED"
     25               ],
     26               [
     27                  "property",
     28                  "objectAttributes",
     29                  "doesNotContain",
     30                  "checkable:true"
     31               ]
     32            ],
     33            "AXAPI" : [
     34               [
     35                  "property",
     36                  "AXValue",
     37                  "is",
     38                  "1"
     39               ]
     40            ],
     41            "IAccessible2" : [
     42               [
     43                  "property",
     44                  "objectAttributes",
     45                  "doesNotContain",
     46                  "checkable:true"
     47               ]
     48            ],
     49            "MSAA" : [
     50               [
     51                  "property",
     52                  "states",
     53                  "contains",
     54                  "STATE_SYSTEM_PRESSED"
     55               ]
     56            ],
     57            "UIA" : [
     58               [
     59                  "property",
     60                  "Toggle.ToggleState",
     61                  "is",
     62                  "On (1)"
     63               ]
     64            ]
     65         },
     66         "title" : "step 1",
     67         "type" : "test"
     68      }
     69   ],
     70   "title" : "aria-pressed=true"
     71 }
     72 
     73    ) ;
     74    </script>
     75  </head>
     76  <body>
     77  <p>This test examines the ARIA properties for aria-pressed=true.</p>
     78    <div role='button' id='test' aria-pressed='true'>content</div>
     79 
     80  <div id="manualMode"></div>
     81  <div id="log"></div>
     82  <div id="ATTAmessages"></div>
     83  </body>
     84 </html>