grid_aria-readonly_false_automatically_propagated-manual.html (6337B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>grid aria-readonly false automatically propagated</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_TABLE_CELL" 25 ], 26 [ 27 "property", 28 "states", 29 "doesNotContain", 30 "STATE_READ_ONLY" 31 ], 32 [ 33 "property", 34 "interfaces", 35 "contains", 36 "TableCell" 37 ] 38 ], 39 "AXAPI" : [ 40 [ 41 "property", 42 "AXRole", 43 "is", 44 "AXCell" 45 ], 46 [ 47 "result", 48 "AXUIElementIsAttributeSettable(AXValue)", 49 "is", 50 "true" 51 ] 52 ], 53 "IAccessible2" : [ 54 [ 55 "property", 56 "interfaces", 57 "contains", 58 "IAccessibleTableCell" 59 ] 60 ], 61 "MSAA" : [ 62 [ 63 "property", 64 "role", 65 "is", 66 "ROLE_SYSTEM_CELL" 67 ], 68 [ 69 "property", 70 "states", 71 "doesNotContain", 72 "STATE_SYSTEM_READONLY" 73 ] 74 ], 75 "UIA" : [ 76 [ 77 "property", 78 "ControlType", 79 "is", 80 "DataItem" 81 ], 82 [ 83 "property", 84 "controlPatterns", 85 "contains", 86 "selectionitem" 87 ], 88 [ 89 "property", 90 "Value.IsReadOnly", 91 "is", 92 "false" 93 ] 94 ] 95 }, 96 "title" : "step 1", 97 "type" : "test" 98 }, 99 { 100 "element" : "test1", 101 "test" : { 102 "ATK" : [ 103 [ 104 "property", 105 "role", 106 "is", 107 "ROLE_COLUMN_HEADER" 108 ], 109 [ 110 "property", 111 "states", 112 "doesNotContain", 113 "STATE_READ_ONLY" 114 ] 115 ], 116 "AXAPI" : [ 117 [ 118 "property", 119 "AXRole", 120 "is", 121 "AXCell" 122 ], 123 [ 124 "result", 125 "AXUIElementIsAttributeSettable(AXValue)", 126 "is", 127 "true" 128 ] 129 ], 130 "MSAA" : [ 131 [ 132 "property", 133 "role", 134 "is", 135 "ROLE_SYSTEM_COLUMNHEADER" 136 ], 137 [ 138 "property", 139 "states", 140 "contains", 141 "STATE_SYSTEM_READONLY" 142 ] 143 ], 144 "UIA" : [ 145 [ 146 "property", 147 "ControlType", 148 "is", 149 "HeaderItem" 150 ], 151 [ 152 "property", 153 "Value.IsReadOnly", 154 "is", 155 "false" 156 ] 157 ] 158 }, 159 "title" : "step 2", 160 "type" : "test" 161 }, 162 { 163 "element" : "test2", 164 "test" : { 165 "ATK" : [ 166 [ 167 "property", 168 "role", 169 "is", 170 "ROLE_ROW_HEADER" 171 ], 172 [ 173 "property", 174 "states", 175 "doesNotContain", 176 "STATE_READ_ONLY" 177 ] 178 ], 179 "AXAPI" : [ 180 [ 181 "property", 182 "AXRole", 183 "is", 184 "AXCell" 185 ], 186 [ 187 "result", 188 "AXUIElementIsAttributeSettable(AXValue)", 189 "is", 190 "true" 191 ] 192 ], 193 "MSAA" : [ 194 [ 195 "property", 196 "role", 197 "is", 198 "ROLE_SYSTEM_ROWHEADER" 199 ], 200 [ 201 "property", 202 "states", 203 "doesNotContain", 204 "STATE_SYSTEM_READONLY" 205 ] 206 ], 207 "UIA" : [ 208 [ 209 "property", 210 "ControlType", 211 "is", 212 "HeaderItem" 213 ], 214 [ 215 "property", 216 "Value.IsReadOnly", 217 "is", 218 "false" 219 ] 220 ] 221 }, 222 "title" : "step 3", 223 "type" : "test" 224 } 225 ], 226 "title" : "grid aria-readonly false automatically propagated" 227 } 228 229 ) ; 230 </script> 231 </head> 232 <body> 233 <p>This test examines the ARIA properties for grid aria-readonly false automatically propagated.</p> 234 <div role="grid" aria-readonly="false"> 235 <div role="row"> 236 <div id="test1" role="columnheader">c1</div> 237 <div role="columnheader">c2</div> 238 </div> 239 <div role="row"> 240 <div id="test2" role="rowheader">rh1</div> 241 <div id="test" role="gridcell">test cell</div> 242 </div> 243 </div> 244 245 <div id="manualMode"></div> 246 <div id="log"></div> 247 <div id="ATTAmessages"></div> 248 </body> 249 </html>