tor-browser

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

combobox-manual.html (2563B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>combobox</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_COMBO_BOX"
     25               ],
     26               [
     27                  "property",
     28                  "states",
     29                  "contains",
     30                  "STATE_EXPANDABLE"
     31               ],
     32               [
     33                  "property",
     34                  "states",
     35                  "contains",
     36                  "STATE_HAS_POPUP"
     37               ]
     38            ],
     39            "AXAPI" : [
     40               [
     41                  "property",
     42                  "AXRole",
     43                  "is",
     44                  "AXComboBox"
     45               ],
     46               [
     47                  "property",
     48                  "AXSubrole",
     49                  "is",
     50                  "<nil>"
     51               ]
     52            ],
     53            "IAccessible2" : [
     54               [
     55                  "property",
     56                  "states",
     57                  "contains",
     58                  "STATE_SYSTEM_HASPOPUP"
     59               ],
     60               [
     61                  "property",
     62                  "states",
     63                  "contains",
     64                  "STATE_SYSTEM_COLLAPSED"
     65               ]
     66            ],
     67            "MSAA" : [
     68               [
     69                  "property",
     70                  "role",
     71                  "is",
     72                  "ROLE_SYSTEM_COMBOBOX"
     73               ]
     74            ],
     75            "UIA" : [
     76               [
     77                  "property",
     78                  "ControlType",
     79                  "is",
     80                  "Combobox"
     81               ]
     82            ]
     83         },
     84         "title" : "step 1",
     85         "type" : "test"
     86      }
     87   ],
     88   "title" : "combobox"
     89 }
     90 
     91    ) ;
     92    </script>
     93  </head>
     94  <body>
     95  <p>This test examines the ARIA properties for combobox.</p>
     96    <div role='combobox' aria-expanded='false' id='test'>
     97    <div role='textbox'>content</div>
     98  </div>
     99 
    100  <div id="manualMode"></div>
    101  <div id="log"></div>
    102  <div id="ATTAmessages"></div>
    103  </body>
    104 </html>