Changeset 184754 in webkit
- Timestamp:
- May 21, 2015 11:12:05 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r184749 r184754 1 2015-05-21 Joanmarie Diggs <jdiggs@igalia.com> 2 3 AX: [GTK] Implement computedRoleString in AccessibilityUIElement 4 https://bugs.webkit.org/show_bug.cgi?id=128420 5 6 Reviewed by Chris Fleizach. 7 8 * platform/gtk/TestExpectations: Removed roles-computedRoleString from the failing test. 9 * platform/gtk/accessibility/image-link-expected.txt: Updated to reflect the new object attribute. 10 * platform/gtk/accessibility/image-map2-expected.txt: Updated to reflect the new object attribute. 11 * platform/gtk/accessibility/lists-expected.txt: Updated to reflect the new object attribute. 12 * platform/gtk/accessibility/roles-computedRoleString-expected.txt: Added. 13 * platform/gtk/accessibility/table-attributes-expected.txt: Updated to reflect the new object attribute. 14 * platform/gtk/accessibility/table-cell-spans-expected.txt: Updated to reflect the new object attribute. 15 * platform/gtk/accessibility/table-cells-expected.txt: Updated to reflect the new object attribute. 16 * platform/gtk/accessibility/table-detection-expected.txt: Updated to reflect the new object attribute. 17 * platform/gtk/accessibility/table-sections-expected.txt: Updated to reflect the new object attribute. 18 * platform/gtk/accessibility/table-with-rules-expected.txt: Updated to reflect the new object attribute. 19 * platform/gtk/accessibility/xml-roles-exposed-expected.txt: Added. 20 * platform/gtk/accessibility/xml-roles-exposed.html: Added. 21 1 22 2015-05-21 Antti Koivisto <antti@apple.com> 2 23 -
trunk/LayoutTests/platform/gtk/TestExpectations
r184721 r184754 1821 1821 #webkit.org/b/85522 http/tests/security/sandboxed-iframe-form-top.html [ Skip ] 1822 1822 1823 webkit.org/b/128420 accessibility/roles-computedRoleString.html [ Skip ]1824 1825 1823 webkit.org/b/103927 http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_cross_origin_resource_request.html [ Failure ] 1826 1824 webkit.org/b/103927 http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_timing_allow_cross_origin_resource_request.html [ Failure ] -
trunk/LayoutTests/platform/gtk/accessibility/image-link-expected.txt
r157859 r184754 22 22 AXChecked: 0 23 23 AXURL: http://www.wowhead.com/?item=33924 24 AXPlatformAttributes: html-id:test, toolkit:WebKitGtk24 AXPlatformAttributes: computed-role:link, html-id:test, toolkit:WebKitGtk 25 25 26 26 Child 0: … … 42 42 AXChecked: 0 43 43 AXURL: LayoutTests/accessibility/resources/cake.png 44 AXPlatformAttributes: toolkit:WebKitGtk44 AXPlatformAttributes: computed-role:img, toolkit:WebKitGtk 45 45 46 46 -
trunk/LayoutTests/platform/gtk/accessibility/image-map2-expected.txt
r176505 r184754 38 38 AXChecked: 0 39 39 AXURL: http://www.apple.com/ 40 AXPlatformAttributes: toolkit:WebKitGtk40 AXPlatformAttributes: computed-role:link, toolkit:WebKitGtk 41 41 ------------ 42 42 AXRole: AXLink … … 58 58 AXChecked: 0 59 59 AXURL: http://www.apple.com/ 60 AXPlatformAttributes: toolkit:WebKitGtk60 AXPlatformAttributes: computed-role:link, toolkit:WebKitGtk 61 61 ------------ 62 62 -
trunk/LayoutTests/platform/gtk/accessibility/lists-expected.txt
r167009 r184754 28 28 AXRequired: 0 29 29 AXChecked: 0 30 AXPlatformAttributes: toolkit:WebKitGtk30 AXPlatformAttributes: computed-role:list, toolkit:WebKitGtk 31 31 ------------ 32 32 AXRole: AXList … … 46 46 AXRequired: 0 47 47 AXChecked: 0 48 AXPlatformAttributes: toolkit:WebKitGtk48 AXPlatformAttributes: computed-role:list, toolkit:WebKitGtk 49 49 ------------ 50 50 AXRole: AXDescriptionList … … 83 83 AXRequired: 0 84 84 AXChecked: 0 85 AXPlatformAttributes: toolkit:WebKitGtk85 AXPlatformAttributes: computed-role:group, toolkit:WebKitGtk 86 86 ------------ 87 87 … … 104 104 AXRequired: 0 105 105 AXChecked: 0 106 AXPlatformAttributes: toolkit:WebKitGtk106 AXPlatformAttributes: computed-role:listitem, toolkit:WebKitGtk 107 107 ------------ 108 108 AXRole: AXListItem … … 123 123 AXRequired: 0 124 124 AXChecked: 0 125 AXPlatformAttributes: toolkit:WebKitGtk125 AXPlatformAttributes: computed-role:listitem, toolkit:WebKitGtk 126 126 ------------ 127 127 … … 144 144 AXRequired: 0 145 145 AXChecked: 0 146 AXPlatformAttributes: toolkit:WebKitGtk146 AXPlatformAttributes: computed-role:listitem, toolkit:WebKitGtk 147 147 ------------ 148 148 AXRole: AXListItem … … 163 163 AXRequired: 0 164 164 AXChecked: 0 165 AXPlatformAttributes: toolkit:WebKitGtk165 AXPlatformAttributes: computed-role:listitem, toolkit:WebKitGtk 166 166 ------------ 167 167 -
trunk/LayoutTests/platform/gtk/accessibility/table-attributes-expected.txt
r184135 r184754 26 26 AXRequired: 0 27 27 AXChecked: 0 28 AXPlatformAttributes: toolkit:WebKitGtk28 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 29 29 ------------ 30 30 AXRole: AXColumnHeader … … 45 45 AXRequired: 0 46 46 AXChecked: 0 47 AXPlatformAttributes: toolkit:WebKitGtk47 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 48 48 ------------ 49 49 AXRole: AXColumnHeader … … 64 64 AXRequired: 0 65 65 AXChecked: 0 66 AXPlatformAttributes: toolkit:WebKitGtk66 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 67 67 ------------ 68 68 AXRole: AXColumnHeader … … 83 83 AXRequired: 0 84 84 AXChecked: 0 85 AXPlatformAttributes: toolkit:WebKitGtk85 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 86 86 ------------ 87 87 AXRole: AXColumnHeader … … 102 102 AXRequired: 0 103 103 AXChecked: 0 104 AXPlatformAttributes: toolkit:WebKitGtk104 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 105 105 ------------ 106 106 … … 125 125 AXRequired: 0 126 126 AXChecked: 0 127 AXPlatformAttributes: toolkit:WebKitGtk127 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 128 128 ------------ 129 129 AXRole: AXColumnHeader … … 144 144 AXRequired: 0 145 145 AXChecked: 0 146 AXPlatformAttributes: toolkit:WebKitGtk146 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 147 147 ------------ 148 148 AXRole: AXRowHeader … … 163 163 AXRequired: 0 164 164 AXChecked: 0 165 AXPlatformAttributes: toolkit:WebKitGtk165 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk 166 166 ------------ 167 167 AXRole: AXRowHeader … … 182 182 AXRequired: 0 183 183 AXChecked: 0 184 AXPlatformAttributes: toolkit:WebKitGtk184 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk 185 185 ------------ 186 186 … … 213 213 AXRequired: 0 214 214 AXChecked: 0 215 AXPlatformAttributes: toolkit:WebKitGtk215 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 216 216 ------------ 217 217 AXRole: AXColumnHeader … … 232 232 AXRequired: 0 233 233 AXChecked: 0 234 AXPlatformAttributes: toolkit:WebKitGtk234 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 235 235 ------------ 236 236 AXRole: AXColumnHeader … … 251 251 AXRequired: 0 252 252 AXChecked: 0 253 AXPlatformAttributes: toolkit:WebKitGtk253 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 254 254 ------------ 255 255 AXRole: AXColumnHeader … … 270 270 AXRequired: 0 271 271 AXChecked: 0 272 AXPlatformAttributes: toolkit:WebKitGtk272 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 273 273 ------------ 274 274 AXRole: AXColumnHeader … … 289 289 AXRequired: 0 290 290 AXChecked: 0 291 AXPlatformAttributes: toolkit:WebKitGtk291 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 292 292 ------------ 293 293 AXRole: AXColumnHeader … … 308 308 AXRequired: 0 309 309 AXChecked: 0 310 AXPlatformAttributes: toolkit:WebKitGtk310 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 311 311 ------------ 312 312 AXRole: AXColumnHeader … … 327 327 AXRequired: 0 328 328 AXChecked: 0 329 AXPlatformAttributes: toolkit:WebKitGtk329 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 330 330 ------------ 331 331 AXRole: AXColumnHeader … … 346 346 AXRequired: 0 347 347 AXChecked: 0 348 AXPlatformAttributes: toolkit:WebKitGtk348 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 349 349 ------------ 350 350 AXRole: AXCell … … 365 365 AXRequired: 0 366 366 AXChecked: 0 367 AXPlatformAttributes: toolkit:WebKitGtk367 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 368 368 ------------ 369 369 AXRole: AXCell … … 384 384 AXRequired: 0 385 385 AXChecked: 0 386 AXPlatformAttributes: toolkit:WebKitGtk386 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 387 387 ------------ 388 388 AXRole: AXRowHeader … … 403 403 AXRequired: 0 404 404 AXChecked: 0 405 AXPlatformAttributes: toolkit:WebKitGtk405 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk 406 406 ------------ 407 407 AXRole: AXCell … … 422 422 AXRequired: 0 423 423 AXChecked: 0 424 AXPlatformAttributes: toolkit:WebKitGtk424 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 425 425 ------------ 426 426 AXRole: AXCell … … 441 441 AXRequired: 0 442 442 AXChecked: 0 443 AXPlatformAttributes: toolkit:WebKitGtk443 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 444 444 ------------ 445 445 AXRole: AXCell … … 460 460 AXRequired: 0 461 461 AXChecked: 0 462 AXPlatformAttributes: toolkit:WebKitGtk462 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 463 463 ------------ 464 464 AXRole: AXCell … … 479 479 AXRequired: 0 480 480 AXChecked: 0 481 AXPlatformAttributes: toolkit:WebKitGtk481 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 482 482 ------------ 483 483 AXRole: AXRowHeader … … 498 498 AXRequired: 0 499 499 AXChecked: 0 500 AXPlatformAttributes: toolkit:WebKitGtk500 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk 501 501 ------------ 502 502 AXRole: AXCell … … 517 517 AXRequired: 0 518 518 AXChecked: 0 519 AXPlatformAttributes: toolkit:WebKitGtk519 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 520 520 ------------ 521 521 AXRole: AXCell … … 536 536 AXRequired: 0 537 537 AXChecked: 0 538 AXPlatformAttributes: toolkit:WebKitGtk538 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 539 539 ------------ 540 540 AXRole: AXCell … … 555 555 AXRequired: 0 556 556 AXChecked: 0 557 AXPlatformAttributes: toolkit:WebKitGtk557 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 558 558 ------------ 559 559 AXRole: AXCell … … 574 574 AXRequired: 0 575 575 AXChecked: 0 576 AXPlatformAttributes: toolkit:WebKitGtk577 ------------ 578 579 580 -------------------------- 581 582 583 584 -------------------------- 585 586 576 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 577 ------------ 578 579 580 -------------------------- 581 582 583 584 -------------------------- 585 586 -
trunk/LayoutTests/platform/gtk/accessibility/table-cell-spans-expected.txt
r184135 r184754 26 26 AXRequired: 0 27 27 AXChecked: 0 28 AXPlatformAttributes: toolkit:WebKitGtk28 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 29 29 {0, 2}, {0, 2} 30 30 … … 48 48 AXRequired: 0 49 49 AXChecked: 0 50 AXPlatformAttributes: toolkit:WebKitGtk50 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 51 51 {0, 2}, {0, 2} 52 52 … … 70 70 AXRequired: 0 71 71 AXChecked: 0 72 AXPlatformAttributes: toolkit:WebKitGtk72 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 73 73 {2, 2}, {0, 1} 74 74 … … 92 92 AXRequired: 0 93 93 AXChecked: 0 94 AXPlatformAttributes: toolkit:WebKitGtk94 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 95 95 {2, 2}, {0, 1} 96 96 … … 114 114 AXRequired: 0 115 115 AXChecked: 0 116 AXPlatformAttributes: toolkit:WebKitGtk116 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 117 117 {2, 1}, {3, 1} 118 118 -
trunk/LayoutTests/platform/gtk/accessibility/table-cells-expected.txt
r184135 r184754 28 28 AXRequired: 0 29 29 AXChecked: 0 30 AXPlatformAttributes: toolkit:WebKitGtk30 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 31 31 ------------------------ 32 32 [3,1] … … 48 48 AXRequired: 0 49 49 AXChecked: 0 50 AXPlatformAttributes: toolkit:WebKitGtk50 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 51 51 ------------------------ 52 52 [1,1] … … 68 68 AXRequired: 0 69 69 AXChecked: 0 70 AXPlatformAttributes: toolkit:WebKitGtk70 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 71 71 ------------------------ 72 72 [2,2] … … 88 88 AXRequired: 0 89 89 AXChecked: 0 90 AXPlatformAttributes: toolkit:WebKitGtk90 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 91 91 ------------------------ 92 92 [3,5] … … 108 108 AXRequired: 0 109 109 AXChecked: 0 110 AXPlatformAttributes: toolkit:WebKitGtk110 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 111 111 ------------------------ 112 112 [100,0] -
trunk/LayoutTests/platform/gtk/accessibility/table-detection-expected.txt
r184199 r184754 18 18 AXRequired: 0 19 19 AXChecked: 0 20 AXPlatformAttributes: toolkit:WebKitGtk20 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk 21 21 22 22 asdf asdf … … 41 41 AXRequired: 0 42 42 AXChecked: 0 43 AXPlatformAttributes: toolkit:WebKitGtk43 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk 44 44 45 45 asdf asdf … … 86 86 AXRequired: 0 87 87 AXChecked: 0 88 AXPlatformAttributes: toolkit:WebKitGtk88 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk 89 89 90 90 asdf asdf … … 108 108 AXRequired: 0 109 109 AXChecked: 0 110 AXPlatformAttributes: toolkit:WebKitGtk110 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk 111 111 112 112 asdf asdf … … 130 130 AXRequired: 0 131 131 AXChecked: 0 132 AXPlatformAttributes: toolkit:WebKitGtk132 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk 133 133 134 134 asdf asdf … … 153 153 AXRequired: 0 154 154 AXChecked: 0 155 AXPlatformAttributes: toolkit:WebKitGtk155 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk 156 156 157 157 asdf asdf … … 221 221 AXRequired: 0 222 222 AXChecked: 0 223 AXPlatformAttributes: toolkit:WebKitGtk223 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk 224 224 225 225 asdf asdf … … 295 295 AXRequired: 0 296 296 AXChecked: 0 297 AXPlatformAttributes: toolkit:WebKitGtk297 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk 298 298 299 299 asdf asdf … … 317 317 AXRequired: 0 318 318 AXChecked: 0 319 AXPlatformAttributes: toolkit:WebKitGtk319 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk 320 320 321 321 asdf asdf … … 364 364 AXRequired: 0 365 365 AXChecked: 0 366 AXPlatformAttributes: toolkit:WebKitGtk366 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk 367 367 368 368 asdf asdf … … 388 388 AXRequired: 0 389 389 AXChecked: 0 390 AXPlatformAttributes: toolkit:WebKitGtk390 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk 391 391 392 392 asdf asdf … … 412 412 AXRequired: 0 413 413 AXChecked: 0 414 AXPlatformAttributes: toolkit:WebKitGtk414 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk 415 415 416 416 asdf asdf … … 435 435 AXRequired: 0 436 436 AXChecked: 0 437 AXPlatformAttributes: toolkit:WebKitGtk437 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk 438 438 439 439 asdf … … 480 480 AXRequired: 0 481 481 AXChecked: 0 482 AXPlatformAttributes: toolkit:WebKitGtk482 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk 483 483 484 484 head head2 -
trunk/LayoutTests/platform/gtk/accessibility/table-sections-expected.txt
r184135 r184754 35 35 AXRequired: 0 36 36 AXChecked: 0 37 AXPlatformAttributes: toolkit:WebKitGtk37 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 38 38 ------------ 39 39 AXRole: AXColumnHeader … … 54 54 AXRequired: 0 55 55 AXChecked: 0 56 AXPlatformAttributes: toolkit:WebKitGtk56 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 57 57 ------------ 58 58 AXRole: AXCell … … 73 73 AXRequired: 0 74 74 AXChecked: 0 75 AXPlatformAttributes: toolkit:WebKitGtk75 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 76 76 ------------ 77 77 … … 96 96 AXRequired: 0 97 97 AXChecked: 0 98 AXPlatformAttributes: toolkit:WebKitGtk98 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 99 99 ------------ 100 100 AXRole: AXRowHeader … … 115 115 AXRequired: 0 116 116 AXChecked: 0 117 AXPlatformAttributes: toolkit:WebKitGtk117 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk 118 118 ------------ 119 119 AXRole: AXRowHeader … … 134 134 AXRequired: 0 135 135 AXChecked: 0 136 AXPlatformAttributes: toolkit:WebKitGtk136 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk 137 137 ------------ 138 138 … … 181 181 AXRequired: 0 182 182 AXChecked: 0 183 AXPlatformAttributes: toolkit:WebKitGtk183 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 184 184 ------------ 185 185 AXRole: AXColumnHeader … … 200 200 AXRequired: 0 201 201 AXChecked: 0 202 AXPlatformAttributes: toolkit:WebKitGtk202 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 203 203 ------------ 204 204 AXRole: AXCell … … 219 219 AXRequired: 0 220 220 AXChecked: 0 221 AXPlatformAttributes: toolkit:WebKitGtk221 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 222 222 ------------ 223 223 AXRole: AXRowHeader … … 238 238 AXRequired: 0 239 239 AXChecked: 0 240 AXPlatformAttributes: toolkit:WebKitGtk240 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk 241 241 ------------ 242 242 AXRole: AXCell … … 257 257 AXRequired: 0 258 258 AXChecked: 0 259 AXPlatformAttributes: toolkit:WebKitGtk259 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 260 260 ------------ 261 261 AXRole: AXCell … … 276 276 AXRequired: 0 277 277 AXChecked: 0 278 AXPlatformAttributes: toolkit:WebKitGtk278 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 279 279 ------------ 280 280 AXRole: AXRowHeader … … 295 295 AXRequired: 0 296 296 AXChecked: 0 297 AXPlatformAttributes: toolkit:WebKitGtk297 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk 298 298 ------------ 299 299 AXRole: AXCell … … 314 314 AXRequired: 0 315 315 AXChecked: 0 316 AXPlatformAttributes: toolkit:WebKitGtk316 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 317 317 ------------ 318 318 AXRole: AXCell … … 333 333 AXRequired: 0 334 334 AXChecked: 0 335 AXPlatformAttributes: toolkit:WebKitGtk335 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 336 336 ------------ 337 337 AXRole: AXCell … … 352 352 AXRequired: 0 353 353 AXChecked: 0 354 AXPlatformAttributes: toolkit:WebKitGtk354 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 355 355 ------------ 356 356 AXRole: AXCell … … 371 371 AXRequired: 0 372 372 AXChecked: 0 373 AXPlatformAttributes: toolkit:WebKitGtk373 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 374 374 ------------ 375 375 AXRole: AXCell … … 390 390 AXRequired: 0 391 391 AXChecked: 0 392 AXPlatformAttributes: toolkit:WebKitGtk392 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 393 393 ------------ 394 394 … … 421 421 AXRequired: 0 422 422 AXChecked: 0 423 AXPlatformAttributes: toolkit:WebKitGtk423 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 424 424 ------------ 425 425 AXRole: AXColumnHeader … … 440 440 AXRequired: 0 441 441 AXChecked: 0 442 AXPlatformAttributes: toolkit:WebKitGtk442 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 443 443 ------------ 444 444 AXRole: AXCell … … 459 459 AXRequired: 0 460 460 AXChecked: 0 461 AXPlatformAttributes: toolkit:WebKitGtk461 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 462 462 ------------ 463 463 … … 482 482 AXRequired: 0 483 483 AXChecked: 0 484 AXPlatformAttributes: toolkit:WebKitGtk484 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 485 485 ------------ 486 486 AXRole: AXRowHeader … … 501 501 AXRequired: 0 502 502 AXChecked: 0 503 AXPlatformAttributes: toolkit:WebKitGtk503 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk 504 504 ------------ 505 505 AXRole: AXRowHeader … … 520 520 AXRequired: 0 521 521 AXChecked: 0 522 AXPlatformAttributes: toolkit:WebKitGtk522 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk 523 523 ------------ 524 524 … … 567 567 AXRequired: 0 568 568 AXChecked: 0 569 AXPlatformAttributes: toolkit:WebKitGtk569 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 570 570 ------------ 571 571 AXRole: AXColumnHeader … … 586 586 AXRequired: 0 587 587 AXChecked: 0 588 AXPlatformAttributes: toolkit:WebKitGtk588 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk 589 589 ------------ 590 590 AXRole: AXCell … … 605 605 AXRequired: 0 606 606 AXChecked: 0 607 AXPlatformAttributes: toolkit:WebKitGtk607 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 608 608 ------------ 609 609 AXRole: AXRowHeader … … 624 624 AXRequired: 0 625 625 AXChecked: 0 626 AXPlatformAttributes: toolkit:WebKitGtk626 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk 627 627 ------------ 628 628 AXRole: AXCell … … 643 643 AXRequired: 0 644 644 AXChecked: 0 645 AXPlatformAttributes: toolkit:WebKitGtk645 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 646 646 ------------ 647 647 AXRole: AXCell … … 662 662 AXRequired: 0 663 663 AXChecked: 0 664 AXPlatformAttributes: toolkit:WebKitGtk664 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 665 665 ------------ 666 666 AXRole: AXRowHeader … … 681 681 AXRequired: 0 682 682 AXChecked: 0 683 AXPlatformAttributes: toolkit:WebKitGtk683 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk 684 684 ------------ 685 685 AXRole: AXCell … … 700 700 AXRequired: 0 701 701 AXChecked: 0 702 AXPlatformAttributes: toolkit:WebKitGtk702 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 703 703 ------------ 704 704 AXRole: AXCell … … 719 719 AXRequired: 0 720 720 AXChecked: 0 721 AXPlatformAttributes: toolkit:WebKitGtk721 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 722 722 ------------ 723 723 AXRole: AXCell … … 738 738 AXRequired: 0 739 739 AXChecked: 0 740 AXPlatformAttributes: toolkit:WebKitGtk740 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 741 741 ------------ 742 742 AXRole: AXCell … … 757 757 AXRequired: 0 758 758 AXChecked: 0 759 AXPlatformAttributes: toolkit:WebKitGtk759 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 760 760 ------------ 761 761 AXRole: AXCell … … 776 776 AXRequired: 0 777 777 AXChecked: 0 778 AXPlatformAttributes: toolkit:WebKitGtk779 ------------ 780 781 782 -------------------------- 783 784 785 786 -------------------------- 787 788 778 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk 779 ------------ 780 781 782 -------------------------- 783 784 785 786 -------------------------- 787 788 -
trunk/LayoutTests/platform/gtk/accessibility/table-with-rules-expected.txt
r184199 r184754 22 22 AXRequired: 0 23 23 AXChecked: 0 24 AXPlatformAttributes: html-id:testTable2, toolkit:WebKitGtk24 AXPlatformAttributes: computed-role:grid, html-id:testTable2, toolkit:WebKitGtk 25 25 26 26 AXRole: AXTable … … 40 40 AXRequired: 0 41 41 AXChecked: 0 42 AXPlatformAttributes: html-id:testTable3, toolkit:WebKitGtk42 AXPlatformAttributes: computed-role:grid, html-id:testTable3, toolkit:WebKitGtk 43 43 44 44 AXRole: AXTable … … 58 58 AXRequired: 0 59 59 AXChecked: 0 60 AXPlatformAttributes: html-id:testTable4, toolkit:WebKitGtk60 AXPlatformAttributes: computed-role:grid, html-id:testTable4, toolkit:WebKitGtk 61 61 62 62 AXRole: AXSection -
trunk/Source/WebCore/ChangeLog
r184749 r184754 1 2015-05-21 Joanmarie Diggs <jdiggs@igalia.com> 2 3 AX: [GTK] Implement computedRoleString in AccessibilityUIElement 4 https://bugs.webkit.org/show_bug.cgi?id=128420 5 6 Reviewed by Chris Fleizach. 7 8 Expose all ARIA roles (not just landmark-related roles) via an "xml-roles" AtkObject 9 attribute as per http://www.w3.org/TR/core-aam-1.1/#roleMappingGeneralRules 10 11 Expose non-empty computed role strings via AtkObject attribute named "computed-role". 12 Currently the computed role and the ARIA role value happen to be the same string, but 13 that might not always be the case. And AtkObject attributes are cheap. 14 15 Test: platform/gtk/accessibility/xml-roles-exposed.html. 16 17 * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: 18 (webkitAccessibleGetAttributes): 19 1 20 2015-05-21 Antti Koivisto <antti@apple.com> 2 21 -
trunk/Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp
r184135 r184754 452 452 attributeSet = addToAtkAttributeSet(attributeSet, "setsize", String::number(coreObject->ariaSetSize()).utf8().data()); 453 453 454 // Landmarks will be exposed with xml-roles object attributes, with the exception 455 // of LandmarkApplicationRole, which will be exposed with ATK_ROLE_EMBEDDED. 456 AccessibilityRole role = coreObject->roleValue(); 457 switch (role) { 458 case LandmarkBannerRole: 459 attributeSet = addToAtkAttributeSet(attributeSet, "xml-roles", "banner"); 460 break; 461 case LandmarkComplementaryRole: 462 attributeSet = addToAtkAttributeSet(attributeSet, "xml-roles", "complementary"); 463 break; 464 case LandmarkContentInfoRole: 465 attributeSet = addToAtkAttributeSet(attributeSet, "xml-roles", "contentinfo"); 466 break; 467 case LandmarkMainRole: 468 attributeSet = addToAtkAttributeSet(attributeSet, "xml-roles", "main"); 469 break; 470 case LandmarkNavigationRole: 471 attributeSet = addToAtkAttributeSet(attributeSet, "xml-roles", "navigation"); 472 break; 473 case LandmarkSearchRole: 474 attributeSet = addToAtkAttributeSet(attributeSet, "xml-roles", "search"); 475 break; 476 default: 477 break; 454 // According to the W3C Core Accessibility API Mappings 1.1, section 5.4.1 General Rules: 455 // "User agents must expose the WAI-ARIA role string if the API supports a mechanism to do so." 456 // In the case of ATK, the mechanism to do so is an object attribute pair (xml-roles:"string"). 457 // The computedRoleString is primarily for testing, and not limited to elements with ARIA roles. 458 // Because the computedRoleString currently contains the ARIA role string, we'll use it for 459 // both purposes, as the "computed-role" object attribute for all elements which have a value 460 // and also via the "xml-roles" attribute for elements with ARIA, as well as for landmarks. 461 String roleString = coreObject->computedRoleString(); 462 if (!roleString.isEmpty()) { 463 if (coreObject->ariaRoleAttribute() != UnknownRole || coreObject->isLandmark()) 464 attributeSet = addToAtkAttributeSet(attributeSet, "xml-roles", roleString.utf8().data()); 465 attributeSet = addToAtkAttributeSet(attributeSet, "computed-role", roleString.utf8().data()); 478 466 } 479 467 -
trunk/Tools/ChangeLog
r184712 r184754 1 2015-05-21 Joanmarie Diggs <jdiggs@igalia.com> 2 3 AX: [GTK] Implement computedRoleString in AccessibilityUIElement 4 https://bugs.webkit.org/show_bug.cgi?id=128420 5 6 Reviewed by Chris Fleizach. 7 8 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: 9 (WTR::AccessibilityUIElement::computedRoleString): Implemented. 10 1 11 2015-05-21 Csaba Osztrogonác <ossy@webkit.org> 2 12 -
trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp
r184198 r184754 1071 1071 JSRetainPtr<JSStringRef> AccessibilityUIElement::computedRoleString() 1072 1072 { 1073 // FIXME: implement http://webkit.org/b/128420 1073 String role = getAttributeSetValueForId(ATK_OBJECT(m_element.get()), ObjectAttributeType, "computed-role"); 1074 if (!role.isEmpty()) 1075 return JSStringCreateWithUTF8CString(role.utf8().data()); 1076 1074 1077 return JSStringCreateWithCharacters(0, 0); 1075 1078 }
Note: See TracChangeset
for help on using the changeset viewer.