combobox_haspopup_grid-manual.html (4366B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>combobox haspopup grid</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:grid" 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:grid" 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 grid" 137 } 138 139 ) ; 140 </script> 141 </head> 142 <body> 143 <p>This test examines the ARIA properties for combobox haspopup grid.</p> 144 <div aria-label="Tag" aria-haspopup="grid" id="test" role="combobox" aria-expanded="true" aria-owns="owned_grid"> 145 <input type="text" aria-autocomplete="list" aria-controls="owned_grid" aria-activedescendant="selected_cell"> 146 </div> 147 <table id="owned_grid" role="grid"> 148 <tr> 149 <th tabindex="-1" id="selected_cell" role="colomnheader">c1</th><th role="colomnheader">c2</th> 150 </tr> 151 <tr> 152 <td role="gridcell">A1</td><td role="gridcell">A2</td> 153 </tr> 154 <tr> 155 <td role="gridcell">A3</td><td role="gridcell">A4</td> 156 </tr> 157 </table> 158 159 160 <div id="manualMode"></div> 161 <div id="log"></div> 162 <div id="ATTAmessages"></div> 163 </body> 164 </html>