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