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