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