Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: third_party/WebKit/LayoutTests/accessibility/readme.md

Issue 2701603002: Update accessibility documentation. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « docs/accessibility/patts.md ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # LayoutTests for Accessibility 1 # LayoutTests for Accessibility
2 2
3 ## General Info on LayoutTests: Building and Running the Tests 3 ## General Info on LayoutTests: Building and Running the Tests
4 4
5 See https://chromium.googlesource.com/chromium/src/+/master/docs/testing/layout_ tests.md for general info on how to build and run LayoutTests. 5 See [Layout Tests](/docs/testing/layout_tests.md) for general
6 info on how to build and run layout tests.
6 7
7 ## Old vs. New 8 ## Old vs. New
8 9
9 There are two styles of accessibility layout tests: 10 There are two styles of accessibility layout tests:
11
10 * Using a ```-expected.txt``` (now deprecated) 12 * Using a ```-expected.txt``` (now deprecated)
11 * Unit-style tests with assertions 13 * Unit-style tests with assertions
12 14
13 Use the unit-style tests. An example is aria-modal.html. 15 Use the unit-style tests. An example is aria-modal.html.
14 16
15 ## Methodology and Bindings 17 ## Methodology and Bindings
16 18
17 These tests check the accessibility tree directly in Blink using ```Accessibilit yController```, which is just a test helper. 19 These tests check the accessibility tree directly in Blink using ```Accessibilit yController```, which is just a test helper.
18 20
19 The code that implements the bindings is here: 21 The code that implements the bindings is here:
20 22
21 * ```components/test_runner/accessibility_controller.cc``` 23 * ```components/test_runner/accessibility_controller.cc```
22 * ```components/test_runner/web_ax_object_proxy.cc``` 24 * ```components/test_runner/web_ax_object_proxy.cc```
23 25
24 You'll probably find bindings for the features you want to test already. If not, it's not hard to add new ones. 26 You'll probably find bindings for the features you want to test already. If not, it's not hard to add new ones.
25
OLDNEW
« no previous file with comments | « docs/accessibility/patts.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698