tor-browser

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

combobox_haspopup_false-manual.html (4231B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>combobox 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                  "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_EXPANDED"
     37               ],
     38               [
     39                  "property",
     40                  "states",
     41                  "doesNotContain",
     42                  "STATE_HAS_POPUP"
     43               ]
     44            ],
     45            "AXAPI" : [
     46               [
     47                  "property",
     48                  "AXRole",
     49                  "is",
     50                  "AXComboBox"
     51               ],
     52               [
     53                  "property",
     54                  "AXSubrole",
     55                  "is",
     56                  "<nil>"
     57               ],
     58               [
     59                  "property",
     60                  "AXRoleDescription",
     61                  "is",
     62                  "combo box"
     63               ],
     64               [
     65                  "property",
     66                  "AXExpanded",
     67                  "is",
     68                  "true"
     69               ],
     70               [
     71                  "property",
     72                  "actions",
     73                  "doesNotContain",
     74                  "AXShowMenu"
     75               ]
     76            ],
     77            "IAccessible2" : [
     78               [
     79                  "property",
     80                  "role",
     81                  "is",
     82                  "ROLE_SYSTEM_COMBOBOX"
     83               ],
     84               [
     85                  "property",
     86                  "objectAttributes",
     87                  "contains",
     88                  "haspopup:false"
     89               ]
     90            ],
     91            "MSAA" : [
     92               [
     93                  "property",
     94                  "role",
     95                  "is",
     96                  "ROLE_SYSTEM_COMBOBOX"
     97               ],
     98               [
     99                  "property",
    100                  "states",
    101                  "doesNotContain",
    102                  "STATE_SYSTEM_HASPOPUP"
    103               ],
    104               [
    105                  "property",
    106                  "states",
    107                  "contains",
    108                  "STATE_SYSTEM_EXPANDED"
    109               ]
    110            ],
    111            "UIA" : [
    112               [
    113                  "property",
    114                  "ControlType",
    115                  "is",
    116                  "Combobox"
    117               ],
    118               [
    119                  "property",
    120                  "interfaces",
    121                  "contains",
    122                  "ExpandCollapse pattern"
    123               ],
    124               [
    125                  "property",
    126                  "ExpandCollapse.ExpandCollapseState",
    127                  "is",
    128                  "Expanded"
    129               ]
    130            ]
    131         },
    132         "title" : "step 1",
    133         "type" : "test"
    134      }
    135   ],
    136   "title" : "combobox haspopup false"
    137 }
    138 
    139    ) ;
    140    </script>
    141  </head>
    142  <body>
    143  <p>This test examines the ARIA properties for combobox haspopup false.</p>
    144    <div aria-label="Tag" id="test" aria-haspopup="false" role="combobox" aria-expanded="true" aria-owns="owned_dialog">
    145    <input type="text" aria-autocomplete="list" aria-controls="owned_dialog" aria-activedescendant="selected_cell">
    146   <div role="radiogroup">
    147      <div role="radio" id="selected_radio" tabindex="-1">R1</div><div role="radio" tabindex="-1">R2</div>
    148   </div>
    149   <div role="button" tabindex="0">ok</div>
    150 
    151 
    152  <div id="manualMode"></div>
    153  <div id="log"></div>
    154  <div id="ATTAmessages"></div>
    155  </body>
    156 </html>