tor-browser

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

combobox_orientation_vertical-manual.html (3356B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>combobox orientation vertical</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_VERTICAL"
     31               ],
     32               [
     33                  "property",
     34                  "states",
     35                  "doesNotContain",
     36                  "STATE_HORIZONTAL"
     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                  "property",
     54                  "AXRoleDescription",
     55                  "is",
     56                  "combo box"
     57               ],
     58               [
     59                  "property",
     60                  "AXOrientation",
     61                  "is",
     62                  "AXVerticalOrientation"
     63               ]
     64            ],
     65            "IAccessible2" : [
     66               [
     67                  "property",
     68                  "states",
     69                  "contains",
     70                  "IA2_STATE_VERTICAL"
     71               ],
     72               [
     73                  "property",
     74                  "states",
     75                  "doesNotContain",
     76                  "IA2_STATE_HORIZONTAL"
     77               ]
     78            ],
     79            "MSAA" : [
     80               [
     81                  "property",
     82                  "role",
     83                  "is",
     84                  "ROLE_SYSTEM_COMBOBOX"
     85               ]
     86            ],
     87            "UIA" : [
     88               [
     89                  "property",
     90                  "ControlType",
     91                  "is",
     92                  "Combobox"
     93               ],
     94               [
     95                  "property",
     96                  "IUIAutomationElement.Orientation",
     97                  "is",
     98                  "vertical"
     99               ]
    100            ]
    101         },
    102         "title" : "step 1",
    103         "type" : "test"
    104      }
    105   ],
    106   "title" : "combobox orientation vertical"
    107 }
    108 
    109    ) ;
    110    </script>
    111  </head>
    112  <body>
    113  <p>This test examines the ARIA properties for combobox orientation vertical.</p>
    114    <div aria-label="Tag" id="test" role="combobox" aria-orientation="vertical" aria-expanded="true" aria-owns="owned_listbox">
    115    <input type="text" aria-autocomplete="list" aria-controls="owned_listbox" aria-activedescendant="selected_option">
    116    <li role="option">Zebra</li>
    117    <li role="option" id="selected_option">Zoom</li>
    118 
    119  <div id="manualMode"></div>
    120  <div id="log"></div>
    121  <div id="ATTAmessages"></div>
    122  </body>
    123 </html>