tree: 1a5e3ea9b0c2c6edc00df0d11688c129ff1ab28e [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-element-internals-aria.html
  37. aom-element-internals-role.html
  38. aom-float-properties.html
  39. aom-focus-action.html
  40. aom-increment-action.html
  41. aom-int-properties.html
  42. aom-relation-list-properties.html
  43. aom-relation-properties.html
  44. aom-reparenting-crash.html
  45. aom-scroll-action.html
  46. aom-string-properties.html
  47. aom-virtual-bool-properties.html
  48. aom-virtual.html
  49. aom.html
  50. appearance-affects-role.html
  51. aria-activedescendant-events.html
  52. aria-activedescendant.html
  53. aria-checkbox-checked-expected.txt
  54. aria-checkbox-checked-mixed.html
  55. aria-checkbox-checked.html
  56. aria-checkbox-sends-notification.html
  57. aria-combo-box-with-delay-add.html
  58. aria-combo-box-with-delay.html
  59. aria-combo-box.html
  60. aria-controls-with-tabs.html
  61. aria-controls.html
  62. aria-describedby-on-input-expected.txt
  63. aria-describedby-on-input.html
  64. aria-disabled.html
  65. aria-fallback-roles-expected.txt
  66. aria-fallback-roles.html
  67. aria-flowto.html
  68. aria-grid-readonly-propagation.html
  69. aria-help-usecounter.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-update.html
  74. aria-hidden-updates-alldescendants.html
  75. aria-hidden-with-elements-expected.txt
  76. aria-hidden-with-elements.html
  77. aria-hidden.html
  78. aria-label-expected.txt
  79. aria-label.html
  80. aria-labelledby-on-input-expected.txt
  81. aria-labelledby-on-input.html
  82. aria-labelledby-overrides-aria-label.html
  83. aria-labelledby-overrides-aria-labeledby-expected.txt
  84. aria-labelledby-overrides-aria-labeledby.html
  85. aria-labelledby-overrides-label.html
  86. aria-labelledby-stay-within-expected.txt
  87. aria-labelledby-stay-within.html
  88. aria-link-supports-press-expected.txt
  89. aria-link-supports-press.html
  90. aria-list-and-listitem-expected.txt
  91. aria-list-and-listitem.html
  92. aria-modal.html
  93. aria-multiselect-state.html
  94. aria-none-role-expected.txt
  95. aria-none-role.html
  96. aria-option-role.html
  97. aria-orientation-expected.txt
  98. aria-orientation.html
  99. aria-owns-dynamic-changes.html
  100. aria-owns-grid.html
  101. aria-owns-ignores-leafs.html
  102. aria-owns-sends-notification.html
  103. aria-owns.html
  104. aria-presentational-role-expected.txt
  105. aria-presentational-role.html
  106. aria-readonly-expected.txt
  107. aria-readonly.html
  108. aria-reflection.html
  109. aria-relations-should-ignore-hidden-targets.html
  110. aria-roles-expected.txt
  111. aria-roles.html
  112. aria-row-name.html
  113. aria-scrollbar-role-expected.txt
  114. aria-scrollbar-role.html
  115. aria-setsize-posinset.html
  116. aria-slider-value-expected.txt
  117. aria-slider-value.html
  118. aria-tab-roles.html
  119. aria-tables-expected.txt
  120. aria-tables.html
  121. aria-text-role.html
  122. aria-toggle-button-with-title.html
  123. aria-treeitem-checkable.html
  124. aria-used-on-image-maps-expected.txt
  125. aria-used-on-image-maps.html
  126. aria1.1-combo-box-with-delay.html
  127. aria1.1-combo-box.html
  128. background-color.html
  129. background-image-loaded-events.html
  130. block-in-inline.html
  131. bounds-calc.html
  132. br-element-has-correct-title-expected.txt
  133. br-element-has-correct-title.html
  134. bullet.png
  135. button-press-action-expected.txt
  136. button-press-action.html
  137. button-title-uses-inner-img-alt.html
  138. calling-accessibility-methods-with-pending-layout-causes-crash.html
  139. canvas-accessibilitynodeobject-expected.txt
  140. canvas-accessibilitynodeobject.html
  141. canvas-description-and-role-expected.txt
  142. canvas-description-and-role.html
  143. canvas-fallback-content-2.html
  144. canvas-fallback-content-labels-expected.txt
  145. canvas-fallback-content-labels.html
  146. canvas-fallback-content.html
  147. canvas-select-row.html
  148. children-changed-in-canvas.html
  149. chromium-only-roles-expected.txt
  150. chromium-only-roles.html
  151. click-event.html
  152. clickable-expected.txt
  153. clickable.html
  154. color-changed.html
  155. color-well-expected.txt
  156. color-well.html
  157. computed-name-expected.txt
  158. computed-name.html
  159. computed-role-expected.txt
  160. computed-role.html
  161. computed-text-with-height-0.html
  162. container-node-delete-causes-crash-expected.txt
  163. container-node-delete-causes-crash.html
  164. content-changed-notification-causes-crash-expected.txt
  165. content-changed-notification-causes-crash.html
  166. contenteditable-caret-position.html
  167. contenteditable-hidden-div-expected.txt
  168. contenteditable-hidden-div.html
  169. contenteditable-notifications.html
  170. contenteditable-on-aria-hidden-body.html
  171. contenteditable-selection.html
  172. contenteditable-table-check-causes-crash-expected.txt
  173. contenteditable-table-check-causes-crash.html
  174. continuation.html
  175. continuation2.html
  176. continuation3.html
  177. continuation4.html
  178. corresponding-control-deleted-crash-expected.txt
  179. corresponding-control-deleted-crash.html
  180. crash-adopt-node-from-new-document-expected.txt
  181. crash-adopt-node-from-new-document.html
  182. crash-determining-aria-role-when-label-present-expected.txt
  183. crash-determining-aria-role-when-label-present.html
  184. crash-on-accessing-properties-at-initial-state-expected.txt
  185. crash-on-accessing-properties-at-initial-state.html
  186. crash-with-noelement-selectbox-expected.txt
  187. crash-with-noelement-selectbox.html
  188. crashing-a-tag-in-map-expected.txt
  189. crashing-a-tag-in-map.html
  190. css-alt-text.html
  191. css-first-letter-children.html
  192. css-generated-content-expected.txt
  193. css-generated-content.html
  194. css-styles-expected.txt
  195. css-styles.html
  196. default-language.html
  197. description-calc-aria-describedby.html
  198. description-calc-inputs.html
  199. description-calc-native-markup-input-buttons.html
  200. description-calc-summary.html
  201. description-calc-table-caption.html
  202. dimensions-include-descendants-expected.txt
  203. dimensions-include-descendants.html
  204. disabled-controls-not-focusable-expected.txt
  205. disabled-controls-not-focusable.html
  206. disabled-controls.html
  207. disabled-not-selectable.html
  208. display-contents.html
  209. display-inline-block-crash-expected.txt
  210. display-inline-block-crash.html
  211. display-none-change.html
  212. display-table-cell-causes-crash-expected.txt
  213. display-table-cell-causes-crash.html
  214. div-within-anchors-causes-crash-expected.txt
  215. div-within-anchors-causes-crash.html
  216. dl-role-expected.txt
  217. dl-role.html
  218. document-element-display-none-crash.html
  219. draw-focus-if-needed.html
  220. duplicate-child-nodes-expected.txt
  221. duplicate-child-nodes.html
  222. editable-anonymous-block.html
  223. editable-root.html
  224. element-role-mapping-focusable-expected.txt
  225. element-role-mapping-focusable.html
  226. element-role-mapping-normal-expected.txt
  227. element-role-mapping-normal.html
  228. ellipsis-text-expected.txt
  229. ellipsis-text.html
  230. file-upload-button-with-axpress-expected.txt
  231. file-upload-button-with-axpress.html
  232. first-letter-text-transform-causes-crash-expected.txt
  233. first-letter-text-transform-causes-crash.html
  234. first-letter-text-transform.html
  235. focus-action-clicks-element-in-active-descendant.html
  236. focusable-div.html
  237. focusable-span.html
  238. font-changed.html
  239. get-selection-images.html
  240. hang-in-isignored-expected.txt
  241. hang-in-isignored.html
  242. heading-level-expected.txt
  243. heading-level.html
  244. idref-newlines.html
  245. image-inside-link.html
  246. image-link-expected.txt
  247. image-link-inline-cont-expected.txt
  248. image-link-inline-cont.html
  249. image-link.html
  250. image-loaded-crash-expected.txt
  251. image-loaded-crash.html
  252. image-loaded-events.html
  253. image-map-bounds.html
  254. image-map-title-causes-crash-expected.txt
  255. image-map-title-causes-crash.html
  256. image-map-update-parent-crash-expected.txt
  257. image-map-update-parent-crash.html
  258. image-map-with-indirect-area-crash-expected.txt
  259. image-map-with-indirect-area-crash.html
  260. image-map1-expected.txt
  261. image-map1.html
  262. image-map2-expected.txt
  263. image-map2.html
  264. img-alt-tag-only-whitespace-expected.txt
  265. img-alt-tag-only-whitespace.html
  266. img-aria-button-alt-tag-expected.txt
  267. img-aria-button-alt-tag.html
  268. img-fallsback-to-title-expected.txt
  269. img-fallsback-to-title.html
  270. img-srcset-1x.html
  271. img-srcset-2x.html
  272. in-page-link-target.html
  273. inline-continuations-expected.txt
  274. inline-continuations.html
  275. inline-text-bidi-bounds-for-range.html
  276. inline-text-bounds-for-range-br.html
  277. inline-text-bounds-for-range.html
  278. inline-text-box-next-on-line.html
  279. inline-text-change-style.html
  280. inline-text-changes.html
  281. inline-text-input-expected.txt
  282. inline-text-input.html
  283. inline-text-textarea-expected.txt
  284. inline-text-textarea.html
  285. inline-text-word-boundaries-expected.txt
  286. inline-text-word-boundaries.html
  287. inline-text-word-boundary-causes-crash-expected.txt
  288. inline-text-word-boundary-causes-crash.html
  289. input-aria-required-expected.txt
  290. input-aria-required.html
  291. input-file-causes-crash-expected.txt
  292. input-file-causes-crash.html
  293. input-image-alt-expected.txt
  294. input-image-alt.html
  295. input-mixed.html
  296. input-type-password-value-and-selection-expected.txt
  297. input-type-password-value-and-selection.html
  298. input-type-range-aria-value-expected.txt
  299. input-type-range-aria-value.html
  300. input-type-range-value-change-event.html
  301. input-type-range-value-change-expected.txt
  302. input-type-range-value-change.html
  303. input-type-text-caret-position-expected.txt
  304. input-type-text-caret-position.html
  305. input-type-text-selection-expected.txt
  306. input-type-text-selection.html
  307. input-type-text-value-change-event.html
  308. insert-adjacent-html-causes-crash-expected.txt
  309. insert-adjacent-html-causes-crash.xhtml
  310. insert-selected-option-into-select-causes-crash-expected.txt
  311. insert-selected-option-into-select-causes-crash.html
  312. is-ignored-change-sends-notification.html
  313. is-richly-editable-expected.txt
  314. is-richly-editable.html
  315. label-element-press-expected.txt
  316. label-element-press.html
  317. label-for-control-hittest-expected.txt
  318. label-for-control-hittest.html
  319. language-attribute-and-meta-tag.html
  320. language-in-canvas.html
  321. language-meta-tag-dynamically-changing.html
  322. legend-expected.txt
  323. legend.html
  324. link-inside-button-accessible-text.html
  325. link-inside-label-expected.txt
  326. link-inside-label.html
  327. list-with-selection.html
  328. listbox-enabled-states-expected.txt
  329. listbox-enabled-states.html
  330. listbox-focus.html
  331. listitem-presentation-inherited-expected.txt
  332. listitem-presentation-inherited.html
  333. long-text.html
  334. main-element-expected.txt
  335. main-element.html
  336. media-controls-expected.txt
  337. media-controls.html
  338. menu-item-crash-expected.txt
  339. menu-item-crash.html
  340. menu-list-open.html
  341. menu-list-optgroup.html
  342. menu-list-popup-reuses-objects.html
  343. menu-list-selection-changed.html
  344. menu-list-sends-change-notification.html
  345. meter-value-expected.txt
  346. meter-value.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-figure.html
  354. name-calc-group-inside-treeitem.html
  355. name-calc-img.html
  356. name-calc-inputs-expected.txt
  357. name-calc-inputs.html
  358. name-calc-native-markup-buttons.html
  359. name-calc-native-markup-input-buttons.html
  360. name-calc-presentational.html
  361. name-calc-summary.html
  362. name-calc-svg.html
  363. name-calc-visibility.html
  364. native-select-activedescendant.html
  365. nested-layout-crash-expected.txt
  366. nested-layout-crash.html
  367. no-crash-modifying-dom-in-notification-callback-expected.txt
  368. no-crash-modifying-dom-in-notification-callback.html
  369. nochildren-elements-expected.txt
  370. nochildren-elements.html
  371. non-data-table-cell-title-ui-element-expected.txt
  372. non-data-table-cell-title-ui-element.html
  373. non-native-image-crash-expected.txt
  374. non-native-image-crash.html
  375. not-ignore-landmark-roles-expected.txt
  376. not-ignore-landmark-roles.html
  377. notification-listeners.html
  378. onclick-handlers-expected.txt
  379. onclick-handlers.html
  380. option-aria-checked.html
  381. option-removed-from-shadow-dom-crash.html
  382. other-aria-attribute-change-sends-notification.html
  383. platform-name-expected.txt
  384. platform-name.html
  385. presentation-owned-elements-expected.txt
  386. presentation-owned-elements.html
  387. presentational-elements-with-focus-expected.txt
  388. presentational-elements-with-focus.html
  389. presentational-leaf.html
  390. press-works-on-control-types-expected.txt
  391. press-works-on-control-types.html
  392. press-works-on-text-fields.html
  393. radio-button-title-label-expected.txt
  394. radio-button-title-label.html
  395. reach-and-scroll-overflow-div-without-mouse.html
  396. readme.md
  397. readonly-expected.txt
  398. readonly.html
  399. removed-anonymous-block-child-causes-crash-expected.txt
  400. removed-anonymous-block-child-causes-crash.html
  401. removed-continuation-element-causes-crash-expected.txt
  402. removed-continuation-element-causes-crash.html
  403. render-counter-text-expected.txt
  404. render-counter-text.html
  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
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.