tor-browser

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

combobox_haspopup_tree-manual.html (5173B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>combobox haspopup tree</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                  "contains",
     42                  "STATE_HAS_POPUP"
     43               ],
     44               [
     45                  "property",
     46                  "objectAttributes",
     47                  "contains",
     48                  "haspopup:tree"
     49               ]
     50            ],
     51            "AXAPI" : [
     52               [
     53                  "property",
     54                  "AXRole",
     55                  "is",
     56                  "AXComboBox"
     57               ],
     58               [
     59                  "property",
     60                  "AXSubrole",
     61                  "is",
     62                  "<nil>"
     63               ],
     64               [
     65                  "property",
     66                  "AXRoleDescription",
     67                  "is",
     68                  "combo box"
     69               ],
     70               [
     71                  "property",
     72                  "AXExpanded",
     73                  "is",
     74                  "true"
     75               ],
     76               [
     77                  "property",
     78                  "actions",
     79                  "contains",
     80                  "AXShowMenu"
     81               ]
     82            ],
     83            "IAccessible2" : [
     84               [
     85                  "property",
     86                  "objectAttributes",
     87                  "contains",
     88                  "haspopup:tree"
     89               ]
     90            ],
     91            "MSAA" : [
     92               [
     93                  "property",
     94                  "role",
     95                  "is",
     96                  "ROLE_SYSTEM_COMBOBOX"
     97               ],
     98               [
     99                  "property",
    100                  "states",
    101                  "contains",
    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 tree"
    137 }
    138 
    139    ) ;
    140    </script>
    141  </head>
    142  <body>
    143  <p>This test examines the ARIA properties for combobox haspopup tree.</p>
    144    <div aria-label="Tag" id="test" role="combobox" aria-expanded="true" aria-owns="owned_tree" aria-haspopup="tree">
    145    <input type="text" aria-autocomplete="list" aria-controls="owned_tree" aria-activedescendant="oranges">
    146   <li id="fruits" role="treeitem" tabindex="0" aria-expanded="true"><span>Fruits</span>
    147      <ul id="fruit-grp" role="group">
    148         <li id="oranges" role="treeitem" tabindex="-1">Oranges</li>
    149         <li id="apples" role="treeitem" tabindex="-1" aria-expanded="false"><span>Apples</span>
    150            <ul id="apple-grp" role="group">
    151               <li id="macintosh" role="treeitem" tabindex="-1">Macintosh</li>
    152               <li id="granny_smith" role="treeitem" tabindex="-1" aria-expanded="false"><span>Granny Smith</span>
    153                  <ul id="granny-grp" role="group">
    154                     <li id="Washington" role="treeitem" tabindex="-1">Washington State</li>
    155                     <li id="Michigan" role="treeitem" tabindex="-1">Michigan</li>
    156                  </ul>
    157               </li>
    158               <li id="fuji" role="treeitem" tabindex="-1">Fuji</li>
    159            </ul>
    160         </li>
    161         <li id="bananas" role="treeitem" tabindex="-1">Bananas</li>
    162         <li id="pears" role="treeitem" tabindex="-1">Pears</li>
    163      </ul>
    164   </li>
    165   <li id="vegetables" role="treeitem" tabindex="-1" aria-expanded="true">Vegetables</li>
    166 
    167  <div id="manualMode"></div>
    168  <div id="log"></div>
    169  <div id="ATTAmessages"></div>
    170  </body>
    171 </html>