tree: 150f80cfac6f420e3b3a5b0679037ba0b91455a8 [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-expected.txt
  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. animation-blue.gif
  18. animation-green.gif
  19. animation-policy-expected.html
  20. animation-policy.html
  21. anonymous-render-block-in-continuation-causes-crash-expected.txt
  22. anonymous-render-block-in-continuation-causes-crash.html
  23. aom-boolean-properties.html
  24. aom-click-action.html
  25. aom-computed-accessible-node.html
  26. aom-contextmenu-action.html
  27. aom-decrement-action.html
  28. aom-float-properties.html
  29. aom-focus-action.html
  30. aom-increment-action.html
  31. aom-int-properties.html
  32. aom-relation-list-properties.html
  33. aom-relation-properties.html
  34. aom-scroll-action.html
  35. aom-string-properties.html
  36. aom-virtual-bool-properties.html
  37. aom-virtual.html
  38. aom.html
  39. aria-activedescendant-events.html
  40. aria-activedescendant.html
  41. aria-checkbox-checked-expected.txt
  42. aria-checkbox-checked-mixed-expected.txt
  43. aria-checkbox-checked-mixed.html
  44. aria-checkbox-checked.html
  45. aria-checkbox-sends-notification-expected.txt
  46. aria-checkbox-sends-notification.html
  47. aria-combobox-activedescendant.html
  48. aria-controls-expected.txt
  49. aria-controls-with-tabs-expected.txt
  50. aria-controls-with-tabs.html
  51. aria-controls.html
  52. aria-describedby-on-input-expected.txt
  53. aria-describedby-on-input.html
  54. aria-disabled-expected.txt
  55. aria-disabled.html
  56. aria-fallback-roles-expected.txt
  57. aria-fallback-roles.html
  58. aria-flowto-expected.txt
  59. aria-flowto.html
  60. aria-grid-readonly-propagation.html
  61. aria-hidden-children-not-in-text-from-content-expected.txt
  62. aria-hidden-children-not-in-text-from-content.html
  63. aria-hidden-expected.txt
  64. aria-hidden-hides-all-elements-expected.txt
  65. aria-hidden-hides-all-elements.html
  66. aria-hidden-update-expected.txt
  67. aria-hidden-update.html
  68. aria-hidden-updates-alldescendants-expected.txt
  69. aria-hidden-updates-alldescendants.html
  70. aria-hidden-with-elements-expected.txt
  71. aria-hidden-with-elements.html
  72. aria-hidden.html
  73. aria-label-expected.txt
  74. aria-label.html
  75. aria-labelledby-on-input-expected.txt
  76. aria-labelledby-on-input.html
  77. aria-labelledby-overrides-aria-label-expected.txt
  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-expected.txt
  82. aria-labelledby-overrides-label.html
  83. aria-labelledby-stay-within-expected.txt
  84. aria-labelledby-stay-within.html
  85. aria-link-supports-press-expected.txt
  86. aria-link-supports-press.html
  87. aria-list-and-listitem-expected.txt
  88. aria-list-and-listitem.html
  89. aria-modal.html
  90. aria-multiselect-state.html
  91. aria-none-role-expected.txt
  92. aria-none-role.html
  93. aria-option-role-expected.txt
  94. aria-option-role.html
  95. aria-orientation-expected.txt
  96. aria-orientation.html
  97. aria-owns-dynamic-changes.html
  98. aria-owns-grid.html
  99. aria-owns-ignores-leafs.html
  100. aria-owns-sends-notification.html
  101. aria-owns.html
  102. aria-presentational-role-expected.txt
  103. aria-presentational-role.html
  104. aria-readonly-expected.txt
  105. aria-readonly.html
  106. aria-relations-should-ignore-hidden-targets.html
  107. aria-roles-expected.txt
  108. aria-roles.html
  109. aria-row-name.html
  110. aria-scrollbar-role-expected.txt
  111. aria-scrollbar-role.html
  112. aria-setsize-posinset-expected.txt
  113. aria-setsize-posinset.html
  114. aria-slider-value-expected.txt
  115. aria-slider-value.html
  116. aria-tab-roles-expected.txt
  117. aria-tab-roles.html
  118. aria-tables-expected.txt
  119. aria-tables.html
  120. aria-text-role-expected.txt
  121. aria-text-role.html
  122. aria-toggle-button-with-title-expected.txt
  123. aria-toggle-button-with-title.html
  124. aria-tree.html
  125. aria-treeitem-checkable.html
  126. aria-used-on-image-maps-expected.txt
  127. aria-used-on-image-maps.html
  128. background-color.html
  129. bounds-calc.html
  130. br-element-has-correct-title-expected.txt
  131. br-element-has-correct-title.html
  132. button-press-action-expected.txt
  133. button-press-action.html
  134. button-title-uses-inner-img-alt-expected.txt
  135. button-title-uses-inner-img-alt.html
  136. calling-accessibility-methods-with-pending-layout-causes-crash-expected.txt
  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-expected.txt
  143. canvas-fallback-content-2.html
  144. canvas-fallback-content-expected.txt
  145. canvas-fallback-content-labels-expected.txt
  146. canvas-fallback-content-labels.html
  147. canvas-fallback-content.html
  148. canvas-select-row.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-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-expected.txt
  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. 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-first-letter-children.html
  187. css-generated-content-expected.txt
  188. css-generated-content.html
  189. css-styles-expected.txt
  190. css-styles.html
  191. description-calc-aria-describedby.html
  192. description-calc-inputs.html
  193. description-calc-native-markup-input-buttons.html
  194. description-calc-summary.html
  195. description-calc-table-caption.html
  196. dimensions-include-descendants-expected.txt
  197. dimensions-include-descendants.html
  198. disabled-controls-not-focusable-expected.txt
  199. disabled-controls-not-focusable.html
  200. disabled-controls.html
  201. disabled-not-selectable.html
  202. display-inline-block-crash-expected.txt
  203. display-inline-block-crash.html
  204. display-none-change.html
  205. display-table-cell-causes-crash-expected.txt
  206. display-table-cell-causes-crash.html
  207. div-within-anchors-causes-crash-expected.txt
  208. div-within-anchors-causes-crash.html
  209. dl-role-expected.txt
  210. dl-role.html
  211. document-element-display-none-crash.html
  212. draw-focus-if-needed-expected.txt
  213. draw-focus-if-needed.html
  214. duplicate-child-nodes-expected.txt
  215. duplicate-child-nodes.html
  216. editable-root.html
  217. element-role-mapping-focusable-expected.txt
  218. element-role-mapping-focusable.html
  219. element-role-mapping-normal-expected.txt
  220. element-role-mapping-normal.html
  221. ellipsis-text-expected.txt
  222. ellipsis-text.html
  223. file-upload-button-with-axpress-expected.txt
  224. file-upload-button-with-axpress.html
  225. first-letter-text-transform-causes-crash-expected.txt
  226. first-letter-text-transform-causes-crash.html
  227. focus-action-clicks-element-in-active-descendant.html
  228. focusable-div-expected.txt
  229. focusable-div.html
  230. hang-in-isignored-expected.txt
  231. hang-in-isignored.html
  232. heading-level-expected.txt
  233. heading-level.html
  234. idref-newlines.html
  235. image-inside-link.html
  236. image-link-expected.txt
  237. image-link-inline-cont-expected.txt
  238. image-link-inline-cont.html
  239. image-link.html
  240. image-map-bounds.html
  241. image-map-title-causes-crash-expected.txt
  242. image-map-title-causes-crash.html
  243. image-map-update-parent-crash-expected.txt
  244. image-map-update-parent-crash.html
  245. image-map-with-indirect-area-crash-expected.txt
  246. image-map-with-indirect-area-crash.html
  247. image-map1-expected.txt
  248. image-map1.html
  249. image-map2-expected.txt
  250. image-map2.html
  251. img-alt-tag-only-whitespace-expected.txt
  252. img-alt-tag-only-whitespace.html
  253. img-aria-button-alt-tag-expected.txt
  254. img-aria-button-alt-tag.html
  255. img-fallsback-to-title-expected.txt
  256. img-fallsback-to-title.html
  257. in-page-link-target.html
  258. inline-continuations-expected.txt
  259. inline-continuations.html
  260. inline-text-bidi-bounds-for-range-expected.txt
  261. inline-text-bidi-bounds-for-range.html
  262. inline-text-bounds-for-range-br.html
  263. inline-text-bounds-for-range.html
  264. inline-text-box-next-on-line.html
  265. inline-text-change-style-expected.txt
  266. inline-text-change-style.html
  267. inline-text-changes-expected.txt
  268. inline-text-changes.html
  269. inline-text-input-expected.txt
  270. inline-text-input.html
  271. inline-text-textarea-expected.txt
  272. inline-text-textarea.html
  273. inline-text-word-boundaries-expected.txt
  274. inline-text-word-boundaries.html
  275. inline-text-word-boundary-causes-crash-expected.txt
  276. inline-text-word-boundary-causes-crash.html
  277. input-aria-required-expected.txt
  278. input-aria-required.html
  279. input-file-causes-crash-expected.txt
  280. input-file-causes-crash.html
  281. input-image-alt-expected.txt
  282. input-image-alt.html
  283. input-mixed.html
  284. input-type-password-value-and-selection-expected.txt
  285. input-type-password-value-and-selection.html
  286. input-type-range-aria-value-expected.txt
  287. input-type-range-aria-value.html
  288. input-type-range-value-change-event.html
  289. input-type-range-value-change-expected.txt
  290. input-type-range-value-change.html
  291. input-type-text-caret-position-expected.txt
  292. input-type-text-caret-position.html
  293. input-type-text-selection-expected.txt
  294. input-type-text-selection.html
  295. input-type-text-value-change-event.html
  296. insert-adjacent-html-causes-crash-expected.txt
  297. insert-adjacent-html-causes-crash.xhtml
  298. insert-selected-option-into-select-causes-crash-expected.txt
  299. insert-selected-option-into-select-causes-crash.html
  300. is-ignored-change-sends-notification-expected.txt
  301. is-ignored-change-sends-notification.html
  302. is-richly-editable-expected.txt
  303. is-richly-editable.html
  304. label-element-press-expected.txt
  305. label-element-press.html
  306. label-for-control-hittest-expected.txt
  307. label-for-control-hittest.html
  308. language-attribute-expected.txt
  309. language-attribute.html
  310. legend-expected.txt
  311. legend.html
  312. line-for-index-endless-loop.html
  313. link-inside-button-accessible-text-expected.txt
  314. link-inside-button-accessible-text.html
  315. link-inside-label-expected.txt
  316. link-inside-label.html
  317. list-with-selection.html
  318. listbox-enabled-states-expected.txt
  319. listbox-enabled-states.html
  320. listbox-focus.html
  321. listitem-presentation-inherited-expected.txt
  322. listitem-presentation-inherited.html
  323. main-element-expected.txt
  324. main-element.html
  325. media-controls-expected.txt
  326. media-controls.html
  327. menu-item-crash-expected.txt
  328. menu-item-crash.html
  329. menu-list-open.html
  330. menu-list-optgroup.html
  331. menu-list-popup-reuses-objects-expected.txt
  332. menu-list-popup-reuses-objects.html
  333. menu-list-selection-changed-expected.txt
  334. menu-list-selection-changed.html
  335. menu-list-sends-change-notification-expected.txt
  336. menu-list-sends-change-notification.html
  337. meter-value-expected.txt
  338. meter-value.html
  339. multiselect-list-reports-active-option-expected.txt
  340. multiselect-list-reports-active-option.html
  341. name-calc-aria-hidden.html
  342. name-calc-aria-label.html
  343. name-calc-aria-labelledby.html
  344. name-calc-aria-owns.html
  345. name-calc-button-inside-option.html
  346. name-calc-figure.html
  347. name-calc-group-inside-treeitem.html
  348. name-calc-img.html
  349. name-calc-inputs-expected.txt
  350. name-calc-inputs.html
  351. name-calc-native-markup-buttons.html
  352. name-calc-native-markup-input-buttons.html
  353. name-calc-presentational.html
  354. name-calc-summary.html
  355. name-calc-svg.html
  356. name-calc-visibility.html
  357. nested-layout-crash-expected.txt
  358. nested-layout-crash.html
  359. nochildren-elements-expected.txt
  360. nochildren-elements.html
  361. non-data-table-cell-title-ui-element-expected.txt
  362. non-data-table-cell-title-ui-element.html
  363. non-native-image-crash-expected.txt
  364. non-native-image-crash.html
  365. not-ignore-landmark-roles-expected.txt
  366. not-ignore-landmark-roles.html
  367. notification-listeners-expected.txt
  368. notification-listeners.html
  369. onclick-handlers-expected.txt
  370. onclick-handlers.html
  371. option-aria-checked.html
  372. other-aria-attribute-change-sends-notification-expected.txt
  373. other-aria-attribute-change-sends-notification.html
  374. platform-name-expected.txt
  375. platform-name.html
  376. presentation-owned-elements-expected.txt
  377. presentation-owned-elements.html
  378. presentational-elements-with-focus-expected.txt
  379. presentational-elements-with-focus.html
  380. presentational-leaf.html
  381. press-works-on-control-types-expected.txt
  382. press-works-on-control-types.html
  383. press-works-on-text-fields.html
  384. radio-button-title-label-expected.txt
  385. radio-button-title-label.html
  386. readme.md
  387. readonly-expected.txt
  388. readonly.html
  389. removed-anonymous-block-child-causes-crash-expected.txt
  390. removed-anonymous-block-child-causes-crash.html
  391. removed-continuation-element-causes-crash-expected.txt
  392. removed-continuation-element-causes-crash.html
  393. render-counter-text-expected.txt
  394. render-counter-text.html
  395. resources/
  396. role-attribute-expected.txt
  397. role-attribute.html
  398. role-change.html
  399. scroll-containers.html
  400. scroll-div-horiz-sends-notification-expected.txt
  401. scroll-div-horiz-sends-notification.html
  402. scroll-div-sends-notification-expected.txt
  403. scroll-div-sends-notification.html
  404. scroll-to-global-point-main-window-expected.txt
  405. scroll-to-global-point-main-window.html
  406. scroll-to-global-point-nested-expected.txt
  407. scroll-to-global-point-nested.html
  408. scroll-to-make-visible-div-overflow-expected.txt
  409. scroll-to-make-visible-div-overflow.html
  410. scroll-to-make-visible-main-window-expected.txt
  411. scroll-to-make-visible-main-window.html
  412. scroll-to-make-visible-nested-2-expected.txt
  413. scroll-to-make-visible-nested-2.html
  414. scroll-to-make-visible-nested-expected.txt
  415. scroll-to-make-visible-nested.html
  416. scroll-to-make-visible-with-subfocus-expected.txt
  417. scroll-to-make-visible-with-subfocus.html
  418. scroll-window-horiz-sends-notification-expected.txt
  419. scroll-window-horiz-sends-notification.html
  420. scroll-window-sends-notification-expected.txt
  421. scroll-window-sends-notification.html
  422. secure-textfield-title-ui-expected.txt
  423. secure-textfield-title-ui.html
  424. selection-affinity.html
  425. selection-change-notification-aria-textbox-expected.txt
  426. selection-change-notification-aria-textbox.html
  427. selection-change-notification-contenteditable-expected.txt
  428. selection-change-notification-contenteditable.html
  429. selection-change-notification-input-expected.txt
  430. selection-change-notification-input.html
  431. selection-change-notification-statictext-expected.txt
  432. selection-change-notification-statictext.html
  433. selection-change-notification-textarea-expected.txt
  434. selection-change-notification-textarea.html
  435. selection-events.html
  436. selection-follows-focus.html
  437. selection-states-expected.txt
  438. selection-states.html
  439. set-selection-child-offset.html
  440. set-selection-link.html
  441. set-selection-whitespace.html
  442. show-context-menu-crash.html
  443. show-context-menu-shadowdom.html
  444. show-context-menu.html
  445. slider-thumb-bounds.html
  446. spelling-markers.html
  447. spin-button-bounds.html
  448. spin-button-detach-expected.txt
  449. spin-button-detach.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-path-crash-expected.txt
  457. svg-path-crash.html
  458. table-caption-expected.txt
  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-header-column-row-expected.txt
  473. table-header-column-row.html
  474. table-header-expected.txt
  475. table-header.html
  476. table-headers-expected.txt
  477. table-headers.html
  478. table-modification-crash-expected.txt
  479. table-modification-crash.html
  480. table-nofirstbody-expected.txt
  481. table-nofirstbody.html
  482. table-notbody-expected.txt
  483. table-notbody.html
  484. table-one-cell-expected.txt
  485. table-one-cell.html
  486. table-remove-cell-crash-expected.txt
  487. table-remove-cell-crash.html
  488. table-row-with-aria-role-expected.txt
  489. table-row-with-aria-role.html
  490. table-with-aria-role-expected.txt
  491. table-with-aria-role.html
  492. table-with-empty-thead-causes-crash-expected.txt
  493. table-with-empty-thead-causes-crash.html
  494. table-with-grid-roles.html
  495. table-with-hidden-head-section-expected.txt
  496. table-with-hidden-head-section.html
  497. table-with-presentation-role.html
  498. table-with-rules-expected.txt
  499. table-with-rules.html
  500. table-with-th-role-gridcell-crash.html
  501. text-change-notification-expected.txt
  502. text-change-notification.html
  503. text-changes-with-relations.html
  504. textarea-caret-position-expected.txt
  505. textarea-caret-position.html
  506. textarea-line-for-index-expected.txt
  507. textarea-line-for-index.html
  508. textarea-selection-expected.txt
  509. textarea-selection.html
  510. textbox-role-on-contenteditable-crash-expected.txt
  511. textbox-role-on-contenteditable-crash.html
  512. title-ui-element-correctness-expected.txt
  513. title-ui-element-correctness.html
  514. updating-attribute-in-table-causes-crash-expected.txt
  515. updating-attribute-in-table-causes-crash.html
  516. whitespace-in-name-calc-expected.txt
  517. whitespace-in-name-calc.html
third_party/WebKit/LayoutTests/accessibility/readme.md

LayoutTests for Accessibility

General Info on LayoutTests: Building and Running the Tests

See Layout Tests for general info on how to build and run layout tests.

Old vs. New

There are two styles of accessibility layout 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.