tree: e16b564c21fdb86ccb95c2afe6e66b755dbf1d1a [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-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. image-inside-link.html
  235. image-link-expected.txt
  236. image-link-inline-cont-expected.txt
  237. image-link-inline-cont.html
  238. image-link.html
  239. image-map-bounds.html
  240. image-map-title-causes-crash-expected.txt
  241. image-map-title-causes-crash.html
  242. image-map-update-parent-crash-expected.txt
  243. image-map-update-parent-crash.html
  244. image-map-with-indirect-area-crash-expected.txt
  245. image-map-with-indirect-area-crash.html
  246. image-map1-expected.txt
  247. image-map1.html
  248. image-map2-expected.txt
  249. image-map2.html
  250. img-alt-tag-only-whitespace-expected.txt
  251. img-alt-tag-only-whitespace.html
  252. img-aria-button-alt-tag-expected.txt
  253. img-aria-button-alt-tag.html
  254. img-fallsback-to-title-expected.txt
  255. img-fallsback-to-title.html
  256. in-page-link-target.html
  257. inline-continuations-expected.txt
  258. inline-continuations.html
  259. inline-text-bidi-bounds-for-range-expected.txt
  260. inline-text-bidi-bounds-for-range.html
  261. inline-text-bounds-for-range-br.html
  262. inline-text-bounds-for-range.html
  263. inline-text-box-next-on-line.html
  264. inline-text-change-style-expected.txt
  265. inline-text-change-style.html
  266. inline-text-changes-expected.txt
  267. inline-text-changes.html
  268. inline-text-input-expected.txt
  269. inline-text-input.html
  270. inline-text-textarea-expected.txt
  271. inline-text-textarea.html
  272. inline-text-word-boundaries-expected.txt
  273. inline-text-word-boundaries.html
  274. inline-text-word-boundary-causes-crash-expected.txt
  275. inline-text-word-boundary-causes-crash.html
  276. input-aria-required-expected.txt
  277. input-aria-required.html
  278. input-file-causes-crash-expected.txt
  279. input-file-causes-crash.html
  280. input-image-alt-expected.txt
  281. input-image-alt.html
  282. input-mixed.html
  283. input-type-password-value-and-selection-expected.txt
  284. input-type-password-value-and-selection.html
  285. input-type-range-aria-value-expected.txt
  286. input-type-range-aria-value.html
  287. input-type-range-value-change-event.html
  288. input-type-range-value-change-expected.txt
  289. input-type-range-value-change.html
  290. input-type-text-caret-position-expected.txt
  291. input-type-text-caret-position.html
  292. input-type-text-selection-expected.txt
  293. input-type-text-selection.html
  294. input-type-text-value-change-event.html
  295. insert-adjacent-html-causes-crash-expected.txt
  296. insert-adjacent-html-causes-crash.xhtml
  297. insert-selected-option-into-select-causes-crash-expected.txt
  298. insert-selected-option-into-select-causes-crash.html
  299. is-ignored-change-sends-notification-expected.txt
  300. is-ignored-change-sends-notification.html
  301. is-richly-editable-expected.txt
  302. is-richly-editable.html
  303. label-element-press-expected.txt
  304. label-element-press.html
  305. label-for-control-hittest-expected.txt
  306. label-for-control-hittest.html
  307. language-attribute-expected.txt
  308. language-attribute.html
  309. legend-expected.txt
  310. legend.html
  311. line-for-index-endless-loop.html
  312. link-inside-button-accessible-text-expected.txt
  313. link-inside-button-accessible-text.html
  314. link-inside-label-expected.txt
  315. link-inside-label.html
  316. list-with-selection.html
  317. listbox-enabled-states-expected.txt
  318. listbox-enabled-states.html
  319. listbox-focus.html
  320. listitem-presentation-inherited-expected.txt
  321. listitem-presentation-inherited.html
  322. main-element-expected.txt
  323. main-element.html
  324. media-controls-expected.txt
  325. media-controls.html
  326. menu-item-crash-expected.txt
  327. menu-item-crash.html
  328. menu-list-open.html
  329. menu-list-optgroup.html
  330. menu-list-popup-reuses-objects-expected.txt
  331. menu-list-popup-reuses-objects.html
  332. menu-list-selection-changed-expected.txt
  333. menu-list-selection-changed.html
  334. menu-list-sends-change-notification-expected.txt
  335. menu-list-sends-change-notification.html
  336. meter-value-expected.txt
  337. meter-value.html
  338. multiselect-list-reports-active-option-expected.txt
  339. multiselect-list-reports-active-option.html
  340. name-calc-aria-hidden.html
  341. name-calc-aria-label.html
  342. name-calc-aria-labelledby.html
  343. name-calc-aria-owns.html
  344. name-calc-button-inside-option.html
  345. name-calc-figure.html
  346. name-calc-group-inside-treeitem.html
  347. name-calc-img.html
  348. name-calc-inputs-expected.txt
  349. name-calc-inputs.html
  350. name-calc-native-markup-buttons.html
  351. name-calc-native-markup-input-buttons.html
  352. name-calc-presentational.html
  353. name-calc-summary.html
  354. name-calc-svg.html
  355. name-calc-visibility.html
  356. nested-layout-crash-expected.txt
  357. nested-layout-crash.html
  358. nochildren-elements-expected.txt
  359. nochildren-elements.html
  360. non-data-table-cell-title-ui-element-expected.txt
  361. non-data-table-cell-title-ui-element.html
  362. non-native-image-crash-expected.txt
  363. non-native-image-crash.html
  364. not-ignore-landmark-roles-expected.txt
  365. not-ignore-landmark-roles.html
  366. notification-listeners-expected.txt
  367. notification-listeners.html
  368. onclick-handlers-expected.txt
  369. onclick-handlers.html
  370. option-aria-checked.html
  371. other-aria-attribute-change-sends-notification-expected.txt
  372. other-aria-attribute-change-sends-notification.html
  373. platform-name-expected.txt
  374. platform-name.html
  375. presentation-owned-elements-expected.txt
  376. presentation-owned-elements.html
  377. presentational-elements-with-focus-expected.txt
  378. presentational-elements-with-focus.html
  379. presentational-leaf.html
  380. press-works-on-control-types-expected.txt
  381. press-works-on-control-types.html
  382. press-works-on-text-fields.html
  383. radio-button-title-label-expected.txt
  384. radio-button-title-label.html
  385. readme.md
  386. readonly-expected.txt
  387. readonly.html
  388. removed-anonymous-block-child-causes-crash-expected.txt
  389. removed-anonymous-block-child-causes-crash.html
  390. removed-continuation-element-causes-crash-expected.txt
  391. removed-continuation-element-causes-crash.html
  392. render-counter-text-expected.txt
  393. render-counter-text.html
  394. role-attribute-expected.txt
  395. role-attribute.html
  396. role-change.html
  397. scroll-containers.html
  398. scroll-div-horiz-sends-notification-expected.txt
  399. scroll-div-horiz-sends-notification.html
  400. scroll-div-sends-notification-expected.txt
  401. scroll-div-sends-notification.html
  402. scroll-to-global-point-main-window-expected.txt
  403. scroll-to-global-point-main-window.html
  404. scroll-to-global-point-nested-expected.txt
  405. scroll-to-global-point-nested.html
  406. scroll-to-make-visible-div-overflow-expected.txt
  407. scroll-to-make-visible-div-overflow.html
  408. scroll-to-make-visible-main-window-expected.txt
  409. scroll-to-make-visible-main-window.html
  410. scroll-to-make-visible-nested-2-expected.txt
  411. scroll-to-make-visible-nested-2.html
  412. scroll-to-make-visible-nested-expected.txt
  413. scroll-to-make-visible-nested.html
  414. scroll-to-make-visible-with-subfocus-expected.txt
  415. scroll-to-make-visible-with-subfocus.html
  416. scroll-window-horiz-sends-notification-expected.txt
  417. scroll-window-horiz-sends-notification.html
  418. scroll-window-sends-notification-expected.txt
  419. scroll-window-sends-notification.html
  420. secure-textfield-title-ui-expected.txt
  421. secure-textfield-title-ui.html
  422. selection-affinity.html
  423. selection-change-notification-aria-textbox-expected.txt
  424. selection-change-notification-aria-textbox.html
  425. selection-change-notification-contenteditable-expected.txt
  426. selection-change-notification-contenteditable.html
  427. selection-change-notification-input-expected.txt
  428. selection-change-notification-input.html
  429. selection-change-notification-statictext-expected.txt
  430. selection-change-notification-statictext.html
  431. selection-change-notification-textarea-expected.txt
  432. selection-change-notification-textarea.html
  433. selection-events.html
  434. selection-follows-focus.html
  435. selection-states-expected.txt
  436. selection-states.html
  437. set-selection-child-offset.html
  438. set-selection-link.html
  439. set-selection-whitespace.html
  440. show-context-menu-crash.html
  441. show-context-menu-shadowdom.html
  442. show-context-menu.html
  443. slider-thumb-bounds.html
  444. spelling-markers.html
  445. spin-button-bounds.html
  446. spin-button-detach-expected.txt
  447. spin-button-detach.html
  448. spinbutton-value-expected.txt
  449. spinbutton-value.html
  450. svg-bounds-expected.txt
  451. svg-bounds.html
  452. svg-image-expected.txt
  453. svg-image.html
  454. svg-path-crash-expected.txt
  455. svg-path-crash.html
  456. table-caption-expected.txt
  457. table-caption.html
  458. table-cell-for-column-and-row-crash-expected.txt
  459. table-cell-for-column-and-row-crash.html
  460. table-cell-spans-expected.txt
  461. table-cell-spans.html
  462. table-cells-expected.txt
  463. table-cells-with-colspan-expected.txt
  464. table-cells-with-colspan.html
  465. table-cells.html
  466. table-destroyed-crash-expected.txt
  467. table-destroyed-crash.html
  468. table-detection-expected.txt
  469. table-detection.html
  470. table-header-column-row-expected.txt
  471. table-header-column-row.html
  472. table-header-expected.txt
  473. table-header.html
  474. table-headers-expected.txt
  475. table-headers.html
  476. table-modification-crash-expected.txt
  477. table-modification-crash.html
  478. table-nofirstbody-expected.txt
  479. table-nofirstbody.html
  480. table-notbody-expected.txt
  481. table-notbody.html
  482. table-one-cell-expected.txt
  483. table-one-cell.html
  484. table-remove-cell-crash-expected.txt
  485. table-remove-cell-crash.html
  486. table-row-with-aria-role-expected.txt
  487. table-row-with-aria-role.html
  488. table-with-aria-role-expected.txt
  489. table-with-aria-role.html
  490. table-with-empty-thead-causes-crash-expected.txt
  491. table-with-empty-thead-causes-crash.html
  492. table-with-grid-roles.html
  493. table-with-hidden-head-section-expected.txt
  494. table-with-hidden-head-section.html
  495. table-with-presentation-role.html
  496. table-with-rules-expected.txt
  497. table-with-rules.html
  498. text-change-notification-expected.txt
  499. text-change-notification.html
  500. text-changes-with-relations.html
  501. textarea-caret-position-expected.txt
  502. textarea-caret-position.html
  503. textarea-line-for-index-expected.txt
  504. textarea-line-for-index.html
  505. textarea-selection-expected.txt
  506. textarea-selection.html
  507. textbox-role-on-contenteditable-crash-expected.txt
  508. textbox-role-on-contenteditable-crash.html
  509. title-ui-element-correctness-expected.txt
  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-expected.txt
  514. 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.