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