combobox_haspopup_unspecified-manual.html (4282B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>combobox haspopup unspecified</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:listbox" 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 "role", 87 "is", 88 "ROLE_SYSTEM_COMBOBOX" 89 ], 90 [ 91 "property", 92 "objectAttributes", 93 "contains", 94 "haspopup:listbox" 95 ] 96 ], 97 "MSAA" : [ 98 [ 99 "property", 100 "role", 101 "is", 102 "ROLE_SYSTEM_COMBOBOX" 103 ], 104 [ 105 "property", 106 "states", 107 "contains", 108 "STATE_SYSTEM_HASPOPUP" 109 ], 110 [ 111 "property", 112 "states", 113 "contains", 114 "STATE_SYSTEM_EXPANDED" 115 ] 116 ], 117 "UIA" : [ 118 [ 119 "property", 120 "ControlType", 121 "is", 122 "Combobox" 123 ], 124 [ 125 "property", 126 "interfaces", 127 "contains", 128 "ExpandCollapse pattern" 129 ], 130 [ 131 "property", 132 "ExpandCollapse.ExpandCollapseState", 133 "is", 134 "Expanded" 135 ] 136 ] 137 }, 138 "title" : "step 1", 139 "type" : "test" 140 } 141 ], 142 "title" : "combobox haspopup unspecified" 143 } 144 145 ) ; 146 </script> 147 </head> 148 <body> 149 <p>This test examines the ARIA properties for combobox haspopup unspecified.</p> 150 <div aria-label="Tag" id="test" role="combobox" aria-expanded="true" aria-owns="owned_listbox"> 151 <input type="text" aria-autocomplete="list" aria-controls="owned_listbox" aria-activedescendant="selected_option"> 152 <li role="option">Zebra</li> 153 <li role="option" id="selected_option">Zoom</li> 154 155 <div id="manualMode"></div> 156 <div id="log"></div> 157 <div id="ATTAmessages"></div> 158 </body> 159 </html>