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

Side by Side Diff: LayoutTests/accessibility/aria-checkbox-checked-mixed.html

Issue 783113002: Added test to check the state of ARIA checkboxes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tried to commit expectation file once again to have one as a new file not modified Created 6 years 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 | « no previous file | LayoutTests/accessibility/aria-checkbox-checked-mixed-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <div id="element1" role="checkbox" aria-checked="mixed"></div>
9 <div id="element2" role="radio" aria-checked="mixed"></div> <!-- Treat as false for radio role -->
10 <div id="element3" role="menuitemradio" aria-checked="mixed"></div> <!-- Treat a s false for menuitemradio role -->
11
12 <p id="description"></p>
13 <div id="console"></div>
14
15 <script>
16
17 description("Check whether mixed value is reported properly");
18
19 if (window.accessibilityController) {
20 for (var i = 1; i <= 3; i++) {
21 var element = accessibilityController.accessibleElementById("element " + i);
22 debug("Role: " + element.role);
23 debug("Mixed: " + element.isButtonStateMixed);
24 }
25 }
26
27 </script>
28
29 </body>
30 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/aria-checkbox-checked-mixed-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698