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