grid_busy_value_changes-manual.html (5091B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>grid busy value changes</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 "attribute" : "aria-busy", 18 "element" : "test", 19 "title" : "step 1", 20 "type" : "attribute", 21 "value" : "\"true\"" 22 }, 23 { 24 "element" : "test", 25 "test" : { 26 "ATK" : [ 27 [ 28 "event", 29 "type", 30 "is", 31 "object:state-changed:busy" 32 ], 33 [ 34 "event", 35 "detail1", 36 "is", 37 "1" 38 ], 39 [ 40 "property", 41 "role", 42 "is", 43 "ROLE_TABLE" 44 ], 45 [ 46 "property", 47 "objectAttributes", 48 "contains", 49 "xml-roles:grid" 50 ], 51 [ 52 "property", 53 "interfaces", 54 "contains", 55 "Table" 56 ], 57 [ 58 "property", 59 "interfaces", 60 "contains", 61 "Selection" 62 ], 63 [ 64 "result", 65 "atk_selection_clear_selection()", 66 "is", 67 "false" 68 ], 69 [ 70 "property", 71 "states", 72 "contains", 73 "STATE_BUSY" 74 ] 75 ], 76 "AXAPI" : [ 77 [ 78 "event", 79 "type", 80 "is", 81 "AXElementBusyChanged" 82 ], 83 [ 84 "property", 85 "AXRole", 86 "is", 87 "AXTable" 88 ], 89 [ 90 "property", 91 "AXSubrole", 92 "is", 93 "<nil>" 94 ], 95 [ 96 "property", 97 "AXRoleDescription", 98 "is", 99 "table" 100 ], 101 [ 102 "property", 103 "AXElementBusy", 104 "is", 105 "true" 106 ] 107 ], 108 "IAccessible2" : [ 109 [ 110 "property", 111 "objectAttributes", 112 "contains", 113 "xml-roles:grid" 114 ], 115 [ 116 "property", 117 "interfaces", 118 "contains", 119 "IAccessibleTable2" 120 ] 121 ], 122 "MSAA" : [ 123 [ 124 "event", 125 "type", 126 "is", 127 "EVENT_OBJECT_STATECHANGE" 128 ], 129 [ 130 "property", 131 "role", 132 "is", 133 "ROLE_SYSTEM_TABLE" 134 ], 135 [ 136 "property", 137 "states", 138 "contains", 139 "STATE_SYSTEM_BUSY" 140 ] 141 ], 142 "UIA" : [ 143 [ 144 "event", 145 "type", 146 "is", 147 "PropertyChangedEvent" 148 ], 149 [ 150 "property", 151 "ControlType", 152 "is", 153 "DataGrid" 154 ], 155 [ 156 "property", 157 "interfaces", 158 "contains", 159 "selection pattern" 160 ], 161 [ 162 "result", 163 "AriaProperties.busy", 164 "is", 165 "true" 166 ] 167 ] 168 }, 169 "title" : "step 2", 170 "type" : "test" 171 } 172 ], 173 "title" : "grid busy value changes" 174 } 175 176 ) ; 177 </script> 178 </head> 179 <body> 180 <p>This test examines the ARIA properties for grid busy value changes.</p> 181 <div role="grid" aria-busy="false" id="test"> 182 <div role="row"> 183 <div role="columnheader">shoes</div> 184 <div role="columnheader">shirts</div> 185 </div> 186 <div role="row"> 187 <div role="gridcell">loafers</div> 188 <div role="gridcell">polo</div> 189 </div> 190 <div role="row"> 191 <div role="gridcell">laced</div> 192 <div role="gridcell">rugby</div> 193 </div> 194 </div> 195 196 <div id="manualMode"></div> 197 <div id="log"></div> 198 <div id="ATTAmessages"></div> 199 </body> 200 </html>