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

Side by Side Diff: LayoutTests/accessibility/aria-flowto.html

Issue 844543002: Adding aria-flowto.html, aria-controls.html and aria-owns.html. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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
OLDNEW
(Empty)
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test.js"></script>
5 </head>
6 <body id="body">
7
8 <h1 id="item1" aria-flowto="item2 item3"></h1>
9
10 <div id="item2">Content 2</div>
11 <div id="item3">Content 3</div>
12
13 <p id="description"></p>
14 <div id="console"></div>
15
16 <script>
17 description("This tests that aria-flowto identifies the correct element");
18
19 if (window.accessibilityController) {
20 var item1 = accessibilityController.accessibleElementById("item1");
21 var item2 = accessibilityController.accessibleElementById("item2");
22 var item3 = accessibilityController.accessibleElementById("item3");
23
24 shouldBeTrue("item1.ariaFlowToElementAtIndex(0).isEqual(item2)");
25 shouldBeTrue("item1.ariaFlowToElementAtIndex(1).isEqual(item3)");
26 }
27
28 </script>
29
30 </body>
31 </html>
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/aria-controls-expected.txt ('k') | LayoutTests/accessibility/aria-flowto-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698