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