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