|
| 1 | +This tests ARIA IDL Attribute Reflection. |
| 2 | + |
| 3 | +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | +Test role < - > role |
| 8 | +PASS element[currentProperty] is null |
| 9 | +PASS element.getAttribute(currentAttribute) is null |
| 10 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 11 | +element.setAttribute("role", otherData); |
| 12 | +PASS element[currentProperty] is otherDataProperty |
| 13 | + |
| 14 | +Test ariaActiveDescendantElement < - > aria-activedescendant |
| 15 | +PASS element[currentProperty] is null |
| 16 | +PASS element.getAttribute(currentAttribute) is null |
| 17 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 18 | +element.setAttribute("aria-activedescendant", otherData); |
| 19 | +PASS element[currentProperty] is otherDataProperty |
| 20 | + |
| 21 | +Test ariaAtomic < - > aria-atomic |
| 22 | +PASS element[currentProperty] is null |
| 23 | +PASS element.getAttribute(currentAttribute) is null |
| 24 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 25 | +element.setAttribute("aria-atomic", otherData); |
| 26 | +PASS element[currentProperty] is otherDataProperty |
| 27 | + |
| 28 | +Test ariaAutoComplete < - > aria-autocomplete |
| 29 | +PASS element[currentProperty] is null |
| 30 | +PASS element.getAttribute(currentAttribute) is null |
| 31 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 32 | +element.setAttribute("aria-autocomplete", otherData); |
| 33 | +PASS element[currentProperty] is otherDataProperty |
| 34 | + |
| 35 | +Test ariaBusy < - > aria-busy |
| 36 | +PASS element[currentProperty] is null |
| 37 | +PASS element.getAttribute(currentAttribute) is null |
| 38 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 39 | +element.setAttribute("aria-busy", otherData); |
| 40 | +PASS element[currentProperty] is otherDataProperty |
| 41 | + |
| 42 | +Test ariaChecked < - > aria-checked |
| 43 | +PASS element[currentProperty] is null |
| 44 | +PASS element.getAttribute(currentAttribute) is null |
| 45 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 46 | +element.setAttribute("aria-checked", otherData); |
| 47 | +PASS element[currentProperty] is otherDataProperty |
| 48 | + |
| 49 | +Test ariaColCount < - > aria-colcount |
| 50 | +PASS element[currentProperty] is null |
| 51 | +PASS element.getAttribute(currentAttribute) is null |
| 52 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 53 | +element.setAttribute("aria-colcount", otherData); |
| 54 | +PASS element[currentProperty] is otherDataProperty |
| 55 | + |
| 56 | +Test ariaColIndex < - > aria-colindex |
| 57 | +PASS element[currentProperty] is null |
| 58 | +PASS element.getAttribute(currentAttribute) is null |
| 59 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 60 | +element.setAttribute("aria-colindex", otherData); |
| 61 | +PASS element[currentProperty] is otherDataProperty |
| 62 | + |
| 63 | +Test ariaColSpan < - > aria-colspan |
| 64 | +PASS element[currentProperty] is null |
| 65 | +PASS element.getAttribute(currentAttribute) is null |
| 66 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 67 | +element.setAttribute("aria-colspan", otherData); |
| 68 | +PASS element[currentProperty] is otherDataProperty |
| 69 | + |
| 70 | +Test ariaControlsElements < - > aria-controls |
| 71 | +PASS element[currentProperty] is null |
| 72 | +PASS element.getAttribute(currentAttribute) is null |
| 73 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 74 | +element.setAttribute("aria-controls", otherData); |
| 75 | +PASS element[currentProperty] is otherDataProperty |
| 76 | + |
| 77 | +Test ariaCurrent < - > aria-current |
| 78 | +PASS element[currentProperty] is null |
| 79 | +PASS element.getAttribute(currentAttribute) is null |
| 80 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 81 | +element.setAttribute("aria-current", otherData); |
| 82 | +PASS element[currentProperty] is otherDataProperty |
| 83 | + |
| 84 | +Test ariaDescribedByElements < - > aria-describedby |
| 85 | +PASS element[currentProperty] is null |
| 86 | +PASS element.getAttribute(currentAttribute) is null |
| 87 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 88 | +element.setAttribute("aria-describedby", otherData); |
| 89 | +PASS element[currentProperty] is otherDataProperty |
| 90 | + |
| 91 | +Test ariaDetailsElements < - > aria-details |
| 92 | +PASS element[currentProperty] is null |
| 93 | +PASS element.getAttribute(currentAttribute) is null |
| 94 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 95 | +element.setAttribute("aria-details", otherData); |
| 96 | +PASS element[currentProperty] is otherDataProperty |
| 97 | + |
| 98 | +Test ariaDisabled < - > aria-disabled |
| 99 | +PASS element[currentProperty] is null |
| 100 | +PASS element.getAttribute(currentAttribute) is null |
| 101 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 102 | +element.setAttribute("aria-disabled", otherData); |
| 103 | +PASS element[currentProperty] is otherDataProperty |
| 104 | + |
| 105 | +Test ariaErrorMessageElement < - > aria-errormessage |
| 106 | +PASS element[currentProperty] is null |
| 107 | +PASS element.getAttribute(currentAttribute) is null |
| 108 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 109 | +element.setAttribute("aria-errormessage", otherData); |
| 110 | +PASS element[currentProperty] is otherDataProperty |
| 111 | + |
| 112 | +Test ariaExpanded < - > aria-expanded |
| 113 | +PASS element[currentProperty] is null |
| 114 | +PASS element.getAttribute(currentAttribute) is null |
| 115 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 116 | +element.setAttribute("aria-expanded", otherData); |
| 117 | +PASS element[currentProperty] is otherDataProperty |
| 118 | + |
| 119 | +Test ariaFlowToElements < - > aria-flowto |
| 120 | +PASS element[currentProperty] is null |
| 121 | +PASS element.getAttribute(currentAttribute) is null |
| 122 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 123 | +element.setAttribute("aria-flowto", otherData); |
| 124 | +PASS element[currentProperty] is otherDataProperty |
| 125 | + |
| 126 | +Test ariaHasPopup < - > aria-haspopup |
| 127 | +PASS element[currentProperty] is null |
| 128 | +PASS element.getAttribute(currentAttribute) is null |
| 129 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 130 | +element.setAttribute("aria-haspopup", otherData); |
| 131 | +PASS element[currentProperty] is otherDataProperty |
| 132 | + |
| 133 | +Test ariaHidden < - > aria-hidden |
| 134 | +PASS element[currentProperty] is null |
| 135 | +PASS element.getAttribute(currentAttribute) is null |
| 136 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 137 | +element.setAttribute("aria-hidden", otherData); |
| 138 | +PASS element[currentProperty] is otherDataProperty |
| 139 | + |
| 140 | +Test ariaInvalid < - > aria-invalid |
| 141 | +PASS element[currentProperty] is null |
| 142 | +PASS element.getAttribute(currentAttribute) is null |
| 143 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 144 | +element.setAttribute("aria-invalid", otherData); |
| 145 | +PASS element[currentProperty] is otherDataProperty |
| 146 | + |
| 147 | +Test ariaKeyShortcuts < - > aria-keyshortcuts |
| 148 | +PASS element[currentProperty] is null |
| 149 | +PASS element.getAttribute(currentAttribute) is null |
| 150 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 151 | +element.setAttribute("aria-keyshortcuts", otherData); |
| 152 | +PASS element[currentProperty] is otherDataProperty |
| 153 | + |
| 154 | +Test ariaLabel < - > aria-label |
| 155 | +PASS element[currentProperty] is null |
| 156 | +PASS element.getAttribute(currentAttribute) is null |
| 157 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 158 | +element.setAttribute("aria-label", otherData); |
| 159 | +PASS element[currentProperty] is otherDataProperty |
| 160 | + |
| 161 | +Test ariaLabelledByElements < - > aria-labelledby |
| 162 | +PASS element[currentProperty] is null |
| 163 | +PASS element.getAttribute(currentAttribute) is null |
| 164 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 165 | +element.setAttribute("aria-labelledby", otherData); |
| 166 | +PASS element[currentProperty] is otherDataProperty |
| 167 | + |
| 168 | +Test ariaLevel < - > aria-level |
| 169 | +PASS element[currentProperty] is null |
| 170 | +PASS element.getAttribute(currentAttribute) is null |
| 171 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 172 | +element.setAttribute("aria-level", otherData); |
| 173 | +PASS element[currentProperty] is otherDataProperty |
| 174 | + |
| 175 | +Test ariaLive < - > aria-live |
| 176 | +PASS element[currentProperty] is null |
| 177 | +PASS element.getAttribute(currentAttribute) is null |
| 178 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 179 | +element.setAttribute("aria-live", otherData); |
| 180 | +PASS element[currentProperty] is otherDataProperty |
| 181 | + |
| 182 | +Test ariaModal < - > aria-modal |
| 183 | +PASS element[currentProperty] is null |
| 184 | +PASS element.getAttribute(currentAttribute) is null |
| 185 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 186 | +element.setAttribute("aria-modal", otherData); |
| 187 | +PASS element[currentProperty] is otherDataProperty |
| 188 | + |
| 189 | +Test ariaMultiLine < - > aria-multiline |
| 190 | +PASS element[currentProperty] is null |
| 191 | +PASS element.getAttribute(currentAttribute) is null |
| 192 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 193 | +element.setAttribute("aria-multiline", otherData); |
| 194 | +PASS element[currentProperty] is otherDataProperty |
| 195 | + |
| 196 | +Test ariaMultiSelectable < - > aria-multiselectable |
| 197 | +PASS element[currentProperty] is null |
| 198 | +PASS element.getAttribute(currentAttribute) is null |
| 199 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 200 | +element.setAttribute("aria-multiselectable", otherData); |
| 201 | +PASS element[currentProperty] is otherDataProperty |
| 202 | + |
| 203 | +Test ariaOrientation < - > aria-orientation |
| 204 | +PASS element[currentProperty] is null |
| 205 | +PASS element.getAttribute(currentAttribute) is null |
| 206 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 207 | +element.setAttribute("aria-orientation", otherData); |
| 208 | +PASS element[currentProperty] is otherDataProperty |
| 209 | + |
| 210 | +Test ariaOwnsElements < - > aria-owns |
| 211 | +PASS element[currentProperty] is null |
| 212 | +PASS element.getAttribute(currentAttribute) is null |
| 213 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 214 | +element.setAttribute("aria-owns", otherData); |
| 215 | +PASS element[currentProperty] is otherDataProperty |
| 216 | + |
| 217 | +Test ariaPlaceholder < - > aria-placeholder |
| 218 | +PASS element[currentProperty] is null |
| 219 | +PASS element.getAttribute(currentAttribute) is null |
| 220 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 221 | +element.setAttribute("aria-placeholder", otherData); |
| 222 | +PASS element[currentProperty] is otherDataProperty |
| 223 | + |
| 224 | +Test ariaPosInSet < - > aria-posinset |
| 225 | +PASS element[currentProperty] is null |
| 226 | +PASS element.getAttribute(currentAttribute) is null |
| 227 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 228 | +element.setAttribute("aria-posinset", otherData); |
| 229 | +PASS element[currentProperty] is otherDataProperty |
| 230 | + |
| 231 | +Test ariaPressed < - > aria-pressed |
| 232 | +PASS element[currentProperty] is null |
| 233 | +PASS element.getAttribute(currentAttribute) is null |
| 234 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 235 | +element.setAttribute("aria-pressed", otherData); |
| 236 | +PASS element[currentProperty] is otherDataProperty |
| 237 | + |
| 238 | +Test ariaReadOnly < - > aria-readonly |
| 239 | +PASS element[currentProperty] is null |
| 240 | +PASS element.getAttribute(currentAttribute) is null |
| 241 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 242 | +element.setAttribute("aria-readonly", otherData); |
| 243 | +PASS element[currentProperty] is otherDataProperty |
| 244 | + |
| 245 | +Test ariaRelevant < - > aria-relevant |
| 246 | +PASS element[currentProperty] is null |
| 247 | +PASS element.getAttribute(currentAttribute) is null |
| 248 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 249 | +element.setAttribute("aria-relevant", otherData); |
| 250 | +PASS element[currentProperty] is otherDataProperty |
| 251 | + |
| 252 | +Test ariaRequired < - > aria-required |
| 253 | +PASS element[currentProperty] is null |
| 254 | +PASS element.getAttribute(currentAttribute) is null |
| 255 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 256 | +element.setAttribute("aria-required", otherData); |
| 257 | +PASS element[currentProperty] is otherDataProperty |
| 258 | + |
| 259 | +Test ariaRoleDescription < - > aria-roledescription |
| 260 | +PASS element[currentProperty] is null |
| 261 | +PASS element.getAttribute(currentAttribute) is null |
| 262 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 263 | +element.setAttribute("aria-roledescription", otherData); |
| 264 | +PASS element[currentProperty] is otherDataProperty |
| 265 | + |
| 266 | +Test ariaRowCount < - > aria-rowcount |
| 267 | +PASS element[currentProperty] is null |
| 268 | +PASS element.getAttribute(currentAttribute) is null |
| 269 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 270 | +element.setAttribute("aria-rowcount", otherData); |
| 271 | +PASS element[currentProperty] is otherDataProperty |
| 272 | + |
| 273 | +Test ariaRowIndex < - > aria-rowindex |
| 274 | +PASS element[currentProperty] is null |
| 275 | +PASS element.getAttribute(currentAttribute) is null |
| 276 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 277 | +element.setAttribute("aria-rowindex", otherData); |
| 278 | +PASS element[currentProperty] is otherDataProperty |
| 279 | + |
| 280 | +Test ariaRowSpan < - > aria-rowspan |
| 281 | +PASS element[currentProperty] is null |
| 282 | +PASS element.getAttribute(currentAttribute) is null |
| 283 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 284 | +element.setAttribute("aria-rowspan", otherData); |
| 285 | +PASS element[currentProperty] is otherDataProperty |
| 286 | + |
| 287 | +Test ariaSelected < - > aria-selected |
| 288 | +PASS element[currentProperty] is null |
| 289 | +PASS element.getAttribute(currentAttribute) is null |
| 290 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 291 | +element.setAttribute("aria-selected", otherData); |
| 292 | +PASS element[currentProperty] is otherDataProperty |
| 293 | + |
| 294 | +Test ariaSetSize < - > aria-setsize |
| 295 | +PASS element[currentProperty] is null |
| 296 | +PASS element.getAttribute(currentAttribute) is null |
| 297 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 298 | +element.setAttribute("aria-setsize", otherData); |
| 299 | +PASS element[currentProperty] is otherDataProperty |
| 300 | + |
| 301 | +Test ariaSort < - > aria-sort |
| 302 | +PASS element[currentProperty] is null |
| 303 | +PASS element.getAttribute(currentAttribute) is null |
| 304 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 305 | +element.setAttribute("aria-sort", otherData); |
| 306 | +PASS element[currentProperty] is otherDataProperty |
| 307 | + |
| 308 | +Test ariaValueMax < - > aria-valuemax |
| 309 | +PASS element[currentProperty] is null |
| 310 | +PASS element.getAttribute(currentAttribute) is null |
| 311 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 312 | +element.setAttribute("aria-valuemax", otherData); |
| 313 | +PASS element[currentProperty] is otherDataProperty |
| 314 | + |
| 315 | +Test ariaValueMin < - > aria-valuemin |
| 316 | +PASS element[currentProperty] is null |
| 317 | +PASS element.getAttribute(currentAttribute) is null |
| 318 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 319 | +element.setAttribute("aria-valuemin", otherData); |
| 320 | +PASS element[currentProperty] is otherDataProperty |
| 321 | + |
| 322 | +Test ariaValueNow < - > aria-valuenow |
| 323 | +PASS element[currentProperty] is null |
| 324 | +PASS element.getAttribute(currentAttribute) is null |
| 325 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 326 | +element.setAttribute("aria-valuenow", otherData); |
| 327 | +PASS element[currentProperty] is otherDataProperty |
| 328 | + |
| 329 | +Test ariaValueText < - > aria-valuetext |
| 330 | +PASS element[currentProperty] is null |
| 331 | +PASS element.getAttribute(currentAttribute) is null |
| 332 | +PASS element.getAttribute(currentAttribute) is dataAttribute |
| 333 | +element.setAttribute("aria-valuetext", otherData); |
| 334 | +PASS element[currentProperty] is otherDataProperty |
| 335 | + |
| 336 | + |
| 337 | +PASS count is 46 |
| 338 | +PASS successfullyParsed is true |
| 339 | + |
| 340 | +TEST COMPLETE |
| 341 | + |
0 commit comments