tree: ec3bcbb1d64df94d6014e8bce45be0e504c969ba [path history] [tgz]
  1. resources/
  2. accessibility-hit-test-crash-expected.txt
  3. accessibility-hit-test-crash.html
  4. accessibility-node-memory-management-expected.txt
  5. accessibility-node-memory-management.html
  6. accessibility-node-reparent-expected.txt
  7. accessibility-node-reparent.html
  8. accessibility-object-detached-expected.txt
  9. accessibility-object-detached.html
  10. add-to-menu-list-crashes.html
  11. adjacent-continuations-cause-assertion-failure-expected.txt
  12. adjacent-continuations-cause-assertion-failure.html
  13. adopt-node-causes-crash-expected.txt
  14. adopt-node-causes-crash.html
  15. anchor-linked-anonymous-block-crash-expected.txt
  16. anchor-linked-anonymous-block-crash.html
  17. animated-image-loaded-events.html
  18. animation-blue.gif
  19. animation-green.gif
  20. animation-policy-background-image-expected.png
  21. animation-policy-background-image.html
  22. animation-policy-expected.html
  23. animation-policy.html
  24. anonymous-render-block-in-continuation-causes-crash-expected.txt
  25. anonymous-render-block-in-continuation-causes-crash.html
  26. aom-boolean-properties.html
  27. aom-click-action.html
  28. aom-computed-accessible-node.html
  29. aom-computed-boolean-properties.html
  30. aom-computed-float-properties.html
  31. aom-computed-int-properties.html
  32. aom-computed-relation-accessors.html
  33. aom-computed-string-properties.html
  34. aom-contextmenu-action.html
  35. aom-decrement-action.html
  36. aom-float-properties.html
  37. aom-focus-action.html
  38. aom-increment-action.html
  39. aom-int-properties.html
  40. aom-relation-list-properties.html
  41. aom-relation-properties.html
  42. aom-reparenting-crash.html
  43. aom-scroll-action.html
  44. aom-string-properties.html
  45. aom-virtual-bool-properties.html
  46. aom-virtual.html
  47. aom.html
  48. appearance-affects-role.html
  49. aria-activedescendant-events.html
  50. aria-activedescendant.html
  51. aria-checkbox-checked-expected.txt
  52. aria-checkbox-checked-mixed.html
  53. aria-checkbox-checked.html
  54. aria-checkbox-sends-notification.html
  55. aria-combo-box-with-delay-add.html
  56. aria-combo-box-with-delay.html
  57. aria-combo-box.html
  58. aria-controls-with-tabs.html
  59. aria-controls.html
  60. aria-describedby-on-input-expected.txt
  61. aria-describedby-on-input.html
  62. aria-disabled.html
  63. aria-fallback-roles-expected.txt
  64. aria-fallback-roles.html
  65. aria-flowto.html
  66. aria-grid-readonly-propagation.html
  67. aria-hidden-children-not-in-text-from-content-expected.txt
  68. aria-hidden-children-not-in-text-from-content.html
  69. aria-hidden-hides-all-elements.html
  70. aria-hidden-update.html
  71. aria-hidden-updates-alldescendants.html
  72. aria-hidden-with-elements-expected.txt
  73. aria-hidden-with-elements.html
  74. aria-hidden.html
  75. aria-label-expected.txt
  76. aria-label.html
  77. aria-labelledby-on-input-expected.txt
  78. aria-labelledby-on-input.html
  79. aria-labelledby-overrides-aria-label.html
  80. aria-labelledby-overrides-aria-labeledby-expected.txt
  81. aria-labelledby-overrides-aria-labeledby.html
  82. aria-labelledby-overrides-label.html
  83. aria-labelledby-stay-within-expected.txt
  84. aria-labelledby-stay-within.html
  85. aria-link-supports-press-expected.txt
  86. aria-link-supports-press.html
  87. aria-list-and-listitem-expected.txt
  88. aria-list-and-listitem.html
  89. aria-modal.html
  90. aria-multiselect-state.html
  91. aria-none-role-expected.txt
  92. aria-none-role.html
  93. aria-option-role.html
  94. aria-orientation-expected.txt
  95. aria-orientation.html
  96. aria-owns-dynamic-changes.html
  97. aria-owns-grid.html
  98. aria-owns-ignores-leafs.html
  99. aria-owns-sends-notification.html
  100. aria-owns.html
  101. aria-presentational-role-expected.txt
  102. aria-presentational-role.html
  103. aria-readonly-expected.txt
  104. aria-readonly.html
  105. aria-reflection.html
  106. aria-relations-should-ignore-hidden-targets.html
  107. aria-roles-expected.txt
  108. aria-roles.html
  109. aria-row-name.html
  110. aria-scrollbar-role-expected.txt
  111. aria-scrollbar-role.html
  112. aria-setsize-posinset.html
  113. aria-slider-value-expected.txt
  114. aria-slider-value.html
  115. aria-tab-roles.html
  116. aria-tables-expected.txt
  117. aria-tables.html
  118. aria-text-role.html
  119. aria-toggle-button-with-title.html
  120. aria-treeitem-checkable.html
  121. aria-used-on-image-maps-expected.txt
  122. aria-used-on-image-maps.html
  123. aria1.1-combo-box-with-delay.html
  124. aria1.1-combo-box.html
  125. background-color.html
  126. background-image-loaded-events.html
  127. block-in-inline.html
  128. bounds-calc.html
  129. br-element-has-correct-title-expected.txt
  130. br-element-has-correct-title.html
  131. bullet.png
  132. button-press-action-expected.txt
  133. button-press-action.html
  134. button-title-uses-inner-img-alt.html
  135. calling-accessibility-methods-with-pending-layout-causes-crash.html
  136. canvas-accessibilitynodeobject-expected.txt
  137. canvas-accessibilitynodeobject.html
  138. canvas-description-and-role-expected.txt
  139. canvas-description-and-role.html
  140. canvas-fallback-content-2.html
  141. canvas-fallback-content-labels-expected.txt
  142. canvas-fallback-content-labels.html
  143. canvas-fallback-content.html
  144. canvas-select-row.html
  145. children-changed-in-canvas.html
  146. chromium-only-roles-expected.txt
  147. chromium-only-roles.html
  148. click-event.html
  149. clickable-expected.txt
  150. clickable.html
  151. color-changed.html
  152. color-well-expected.txt
  153. color-well.html
  154. computed-name-expected.txt
  155. computed-name.html
  156. computed-role-expected.txt
  157. computed-role.html
  158. computed-text-with-height-0.html
  159. container-node-delete-causes-crash-expected.txt
  160. container-node-delete-causes-crash.html
  161. content-changed-notification-causes-crash-expected.txt
  162. content-changed-notification-causes-crash.html
  163. contenteditable-caret-position.html
  164. contenteditable-hidden-div-expected.txt
  165. contenteditable-hidden-div.html
  166. contenteditable-notifications.html
  167. contenteditable-on-aria-hidden-body.html
  168. contenteditable-selection.html
  169. contenteditable-table-check-causes-crash-expected.txt
  170. contenteditable-table-check-causes-crash.html
  171. continuation.html
  172. continuation2.html
  173. continuation3.html
  174. continuation4.html
  175. corresponding-control-deleted-crash-expected.txt
  176. corresponding-control-deleted-crash.html
  177. crash-adopt-node-from-new-document-expected.txt
  178. crash-adopt-node-from-new-document.html
  179. crash-determining-aria-role-when-label-present-expected.txt
  180. crash-determining-aria-role-when-label-present.html
  181. crash-on-accessing-properties-at-initial-state-expected.txt
  182. crash-on-accessing-properties-at-initial-state.html
  183. crash-with-noelement-selectbox-expected.txt
  184. crash-with-noelement-selectbox.html
  185. crashing-a-tag-in-map-expected.txt
  186. crashing-a-tag-in-map.html
  187. css-alt-text.html
  188. css-first-letter-children.html
  189. css-generated-content-expected.txt
  190. css-generated-content.html
  191. css-styles-expected.txt
  192. css-styles.html
  193. default-language.html
  194. description-calc-aria-describedby.html
  195. description-calc-inputs.html
  196. description-calc-native-markup-input-buttons.html
  197. description-calc-summary.html
  198. description-calc-table-caption.html
  199. dimensions-include-descendants-expected.txt
  200. dimensions-include-descendants.html
  201. disabled-controls-not-focusable-expected.txt
  202. disabled-controls-not-focusable.html
  203. disabled-controls.html
  204. disabled-not-selectable.html
  205. display-contents.html
  206. display-inline-block-crash-expected.txt
  207. display-inline-block-crash.html
  208. display-none-change.html
  209. display-table-cell-causes-crash-expected.txt
  210. display-table-cell-causes-crash.html
  211. div-within-anchors-causes-crash-expected.txt
  212. div-within-anchors-causes-crash.html
  213. dl-role-expected.txt
  214. dl-role.html
  215. document-element-display-none-crash.html
  216. draw-focus-if-needed.html
  217. duplicate-child-nodes-expected.txt
  218. duplicate-child-nodes.html
  219. editable-anonymous-block.html
  220. editable-root.html
  221. element-role-mapping-focusable-expected.txt
  222. element-role-mapping-focusable.html
  223. element-role-mapping-normal-expected.txt
  224. element-role-mapping-normal.html
  225. ellipsis-text-expected.txt
  226. ellipsis-text.html
  227. file-upload-button-with-axpress-expected.txt
  228. file-upload-button-with-axpress.html
  229. first-letter-text-transform-causes-crash-expected.txt
  230. first-letter-text-transform-causes-crash.html
  231. first-letter-text-transform.html
  232. focus-action-clicks-element-in-active-descendant.html
  233. focusable-div.html
  234. focusable-span.html
  235. font-changed.html
  236. get-selection-images.html
  237. hang-in-isignored-expected.txt
  238. hang-in-isignored.html
  239. heading-level-expected.txt
  240. heading-level.html
  241. idref-newlines.html
  242. image-inside-link.html
  243. image-link-expected.txt
  244. image-link-inline-cont-expected.txt
  245. image-link-inline-cont.html
  246. image-link.html
  247. image-loaded-crash-expected.txt
  248. image-loaded-crash.html
  249. image-loaded-events.html
  250. image-map-bounds.html
  251. image-map-title-causes-crash-expected.txt
  252. image-map-title-causes-crash.html
  253. image-map-update-parent-crash-expected.txt
  254. image-map-update-parent-crash.html
  255. image-map-with-indirect-area-crash-expected.txt
  256. image-map-with-indirect-area-crash.html
  257. image-map1-expected.txt
  258. image-map1.html
  259. image-map2-expected.txt
  260. image-map2.html
  261. img-alt-tag-only-whitespace-expected.txt
  262. img-alt-tag-only-whitespace.html
  263. img-aria-button-alt-tag-expected.txt
  264. img-aria-button-alt-tag.html
  265. img-fallsback-to-title-expected.txt
  266. img-fallsback-to-title.html
  267. img-srcset-1x.html
  268. img-srcset-2x.html
  269. in-page-link-target.html
  270. inline-continuations-expected.txt
  271. inline-continuations.html
  272. inline-text-bidi-bounds-for-range.html
  273. inline-text-bounds-for-range-br.html
  274. inline-text-bounds-for-range.html
  275. inline-text-box-next-on-line.html
  276. inline-text-change-style.html
  277. inline-text-changes.html
  278. inline-text-input-expected.txt
  279. inline-text-input.html
  280. inline-text-textarea-expected.txt
  281. inline-text-textarea.html
  282. inline-text-word-boundaries-expected.txt
  283. inline-text-word-boundaries.html
  284. inline-text-word-boundary-causes-crash-expected.txt
  285. inline-text-word-boundary-causes-crash.html
  286. input-aria-required-expected.txt
  287. input-aria-required.html
  288. input-file-causes-crash-expected.txt
  289. input-file-causes-crash.html
  290. input-image-alt-expected.txt
  291. input-image-alt.html
  292. input-mixed.html
  293. input-type-password-value-and-selection-expected.txt
  294. input-type-password-value-and-selection.html
  295. input-type-range-aria-value-expected.txt
  296. input-type-range-aria-value.html
  297. input-type-range-value-change-event.html
  298. input-type-range-value-change-expected.txt
  299. input-type-range-value-change.html
  300. input-type-text-caret-position-expected.txt
  301. input-type-text-caret-position.html
  302. input-type-text-selection-expected.txt
  303. input-type-text-selection.html
  304. input-type-text-value-change-event.html
  305. insert-adjacent-html-causes-crash-expected.txt
  306. insert-adjacent-html-causes-crash.xhtml
  307. insert-selected-option-into-select-causes-crash-expected.txt
  308. insert-selected-option-into-select-causes-crash.html
  309. is-ignored-change-sends-notification.html
  310. is-richly-editable-expected.txt
  311. is-richly-editable.html
  312. label-element-press-expected.txt
  313. label-element-press.html
  314. label-for-control-hittest-expected.txt
  315. label-for-control-hittest.html
  316. language-attribute-and-meta-tag.html
  317. language-in-canvas.html
  318. language-meta-tag-dynamically-changing.html
  319. legend-expected.txt
  320. legend.html
  321. link-inside-button-accessible-text.html
  322. link-inside-label-expected.txt
  323. link-inside-label.html
  324. list-with-selection.html
  325. listbox-enabled-states-expected.txt
  326. listbox-enabled-states.html
  327. listbox-focus.html
  328. listitem-presentation-inherited-expected.txt
  329. listitem-presentation-inherited.html
  330. long-text.html
  331. main-element-expected.txt
  332. main-element.html
  333. media-controls-expected.txt
  334. media-controls.html
  335. menu-item-crash-expected.txt
  336. menu-item-crash.html
  337. menu-list-open.html
  338. menu-list-optgroup.html
  339. menu-list-popup-reuses-objects.html
  340. menu-list-selection-changed.html
  341. menu-list-sends-change-notification.html
  342. meter-value-expected.txt
  343. meter-value.html
  344. multiselect-list-reports-active-option.html
  345. name-calc-aria-hidden.html
  346. name-calc-aria-label.html
  347. name-calc-aria-labelledby.html
  348. name-calc-aria-owns.html
  349. name-calc-button-inside-option.html
  350. name-calc-figure.html
  351. name-calc-group-inside-treeitem.html
  352. name-calc-img.html
  353. name-calc-inputs-expected.txt
  354. name-calc-inputs.html
  355. name-calc-native-markup-buttons.html
  356. name-calc-native-markup-input-buttons.html
  357. name-calc-presentational.html
  358. name-calc-summary.html
  359. name-calc-svg.html
  360. name-calc-visibility.html
  361. native-select-activedescendant.html
  362. nested-layout-crash-expected.txt
  363. nested-layout-crash.html
  364. no-crash-modifying-dom-in-notification-callback-expected.txt
  365. no-crash-modifying-dom-in-notification-callback.html
  366. nochildren-elements-expected.txt
  367. nochildren-elements.html
  368. non-data-table-cell-title-ui-element-expected.txt
  369. non-data-table-cell-title-ui-element.html
  370. non-native-image-crash-expected.txt
  371. non-native-image-crash.html
  372. not-ignore-landmark-roles-expected.txt
  373. not-ignore-landmark-roles.html
  374. notification-listeners.html
  375. onclick-handlers-expected.txt
  376. onclick-handlers.html
  377. option-aria-checked.html
  378. option-removed-from-shadow-dom-crash.html
  379. other-aria-attribute-change-sends-notification.html
  380. platform-name-expected.txt
  381. platform-name.html
  382. presentation-owned-elements-expected.txt
  383. presentation-owned-elements.html
  384. presentational-elements-with-focus-expected.txt
  385. presentational-elements-with-focus.html
  386. presentational-leaf.html
  387. press-works-on-control-types-expected.txt
  388. press-works-on-control-types.html
  389. press-works-on-text-fields.html
  390. radio-button-title-label-expected.txt
  391. radio-button-title-label.html
  392. reach-and-scroll-overflow-div-without-mouse.html
  393. readme.md
  394. readonly-expected.txt
  395. readonly.html
  396. removed-anonymous-block-child-causes-crash-expected.txt
  397. removed-anonymous-block-child-causes-crash.html
  398. removed-continuation-element-causes-crash-expected.txt
  399. removed-continuation-element-causes-crash.html
  400. render-counter-text-expected.txt
  401. render-counter-text.html
  402. role-attribute-expected.txt
  403. role-attribute.html
  404. role-change.html
  405. scroll-containers.html
  406. scroll-div-horiz-sends-notification.html
  407. scroll-div-sends-notification.html
  408. scroll-to-global-point-main-window-expected.txt
  409. scroll-to-global-point-main-window.html
  410. scroll-to-global-point-nested-expected.txt
  411. scroll-to-global-point-nested.html
  412. scroll-to-make-visible-div-overflow-expected.txt
  413. scroll-to-make-visible-div-overflow.html
  414. scroll-to-make-visible-main-window-expected.txt
  415. scroll-to-make-visible-main-window.html
  416. scroll-to-make-visible-nested-2-expected.txt
  417. scroll-to-make-visible-nested-2.html
  418. scroll-to-make-visible-nested-expected.txt
  419. scroll-to-make-visible-nested.html
  420. scroll-to-make-visible-with-subfocus-expected.txt
  421. scroll-to-make-visible-with-subfocus.html
  422. scroll-window-horiz-sends-notification.html
  423. scroll-window-sends-notification.html
  424. secure-textfield-title-ui-expected.txt
  425. secure-textfield-title-ui.html
  426. selection-affinity.html
  427. selection-change-notification-aria-textbox.html
  428. selection-change-notification-contenteditable.html
  429. selection-change-notification-input.html
  430. selection-change-notification-on-selection-removed.html
  431. selection-change-notification-statictext.html
  432. selection-change-notification-textarea.html
  433. selection-dom-events.html
  434. selection-follows-focus.html
  435. selection-states-expected.txt
  436. selection-states.html
  437. set-selection-child-offset.html
  438. set-selection-images.html
  439. set-selection-link.html
  440. set-selection-whitespace.html
  441. show-context-menu-crash.html
  442. show-context-menu-shadowdom.html
  443. show-context-menu.html
  444. slider-thumb-bounds.html
  445. spelling-markers.html
  446. spinbutton-value-expected.txt
  447. spinbutton-value.html
  448. svg-bounds-expected.txt
  449. svg-bounds.html
  450. svg-image-expected.txt
  451. svg-image.html
  452. svg-is-part-of-same-line.html
  453. svg-path-crash-expected.txt
  454. svg-path-crash.html
  455. table-caption.html
  456. table-cell-for-column-and-row-crash-expected.txt
  457. table-cell-for-column-and-row-crash.html
  458. table-cell-spans-expected.txt
  459. table-cell-spans.html
  460. table-cells-expected.txt
  461. table-cells-with-colspan-expected.txt
  462. table-cells-with-colspan.html
  463. table-cells.html
  464. table-destroyed-crash-expected.txt
  465. table-destroyed-crash.html
  466. table-detection-expected.txt
  467. table-detection.html
  468. table-dynamic-properties.html
  469. table-header-column-row-expected.txt
  470. table-header-column-row.html
  471. table-headers-expected.txt
  472. table-headers.html
  473. table-modification-crash-expected.txt
  474. table-modification-crash.html
  475. table-nofirstbody-expected.txt
  476. table-nofirstbody.html
  477. table-notbody-expected.txt
  478. table-notbody.html
  479. table-one-cell-expected.txt
  480. table-one-cell.html
  481. table-remove-cell-crash-expected.txt
  482. table-remove-cell-crash.html
  483. table-row-with-aria-role-expected.txt
  484. table-row-with-aria-role.html
  485. table-with-aria-role-expected.txt
  486. table-with-aria-role.html
  487. table-with-empty-thead-causes-crash-expected.txt
  488. table-with-empty-thead-causes-crash.html
  489. table-with-grid-roles.html
  490. table-with-hidden-head-section-expected.txt
  491. table-with-hidden-head-section.html
  492. table-with-presentation-role.html
  493. table-with-rules-expected.txt
  494. table-with-rules.html
  495. table-with-th-role-gridcell-crash.html
  496. text-change-notification.html
  497. text-changes-with-relations.html
  498. textarea-caret-position-expected.txt
  499. textarea-caret-position.html
  500. textarea-selection-expected.txt
  501. textarea-selection.html
  502. textbox-role-on-contenteditable-crash-expected.txt
  503. textbox-role-on-contenteditable-crash.html
  504. title-ui-element-correctness.html
  505. updating-attribute-in-table-causes-crash-expected.txt
  506. updating-attribute-in-table-causes-crash.html
  507. whitespace-in-name-calc.html
third_party/blink/web_tests/accessibility/readme.md

Web Tests for Accessibility

General Info on web tests: Building and Running the Tests

See Web Tests for general info on how to build and run web tests.

Old vs. New

There are two styles of accessibility web tests:

  • Using a -expected.txt (now deprecated)
  • Unit-style tests with assertions

Use the unit-style tests. An example is aria-modal.html.

Methodology and Bindings

These tests check the accessibility tree directly in Blink using AccessibilityController, which is just a test helper.

The code that implements the bindings is here:

  • content/shell/test_runner/accessibility_controller.cc
  • content/shell/test_runner/web_ax_object_proxy.cc

You‘ll probably find bindings for the features you want to test already. If not, it’s not hard to add new ones.