tor-browser

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

menuitemcheckbox-manual.html (2266B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>menuitemcheckbox</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                  "role",
     23                  "is",
     24                  "ROLE_CHECK_MENU_ITEM"
     25               ]
     26            ],
     27            "AXAPI" : [
     28               [
     29                  "property",
     30                  "AXRole",
     31                  "is",
     32                  "AXMenuItem"
     33               ],
     34               [
     35                  "property",
     36                  "AXSubrole",
     37                  "is",
     38                  "<nil>"
     39               ]
     40            ],
     41            "IAccessible2" : [
     42               [
     43                  "property",
     44                  "role",
     45                  "is",
     46                  "IA2_ROLE_CHECK_MENU_ITEM"
     47               ]
     48            ],
     49            "MSAA" : [
     50               [
     51                  "property",
     52                  "role",
     53                  "is",
     54                  "ROLE_SYSTEM_CHECKBUTTON or ROLE_SYSTEM_MENUITEM"
     55               ]
     56            ],
     57            "UIA" : [
     58               [
     59                  "property",
     60                  "ControlType",
     61                  "is",
     62                  "MenuItem"
     63               ],
     64               [
     65                  "property",
     66                  "Control Pattern",
     67                  "is",
     68                  "Toggle"
     69               ]
     70            ]
     71         },
     72         "title" : "step 1",
     73         "type" : "test"
     74      }
     75   ],
     76   "title" : "menuitemcheckbox"
     77 }
     78 
     79    ) ;
     80    </script>
     81  </head>
     82  <body>
     83  <p>This test examines the ARIA properties for menuitemcheckbox.</p>
     84    <div role='menu'>
     85    <div role='menuitemcheckbox' id='test'>content</div>
     86  </div>
     87 
     88  <div id="manualMode"></div>
     89  <div id="log"></div>
     90  <div id="ATTAmessages"></div>
     91  </body>
     92 </html>