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