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

Side by Side Diff: third_party/WebKit/LayoutTests/accessibility/html-option-aria-checked.html

Issue 2694903010: AX checked state changes (Closed)
Patch Set: Remove whitespace change 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
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 <select>
9 <option id="element1" role="menuitemcheckbox">1</option>
10 <option id="element2" role="menuitemcheckbox" aria-checked="true">2</option>
11 <option id="element3" role="menuitemradio">3</option>
12 <option id="element4" role="menuitemradio" aria-checked="true">4</option>
13 <!-- Checked not supported -->
14 <option id="element5" aria-checked="true">5</option>
15 <!-- Mixed is not checked -->
16 <option id="element6" role="menuitemcheckbox" aria-checked="mixed">6</option>
17 </select>
18
19
20 </select>
21
22 <p id="description"></p>
23 <div id="console"></div>
24
25 <script>
26
27 description("Check whether options with appropriate role can set aria-checke d");
28
29 if (window.accessibilityController) {
30 for (var i = 1; i <= 6; i++) {
31 var element = accessibilityController.accessibleElementById("element " + i);
32 debug("Role: " + element.role);
33 debug("Checked: " + element.isChecked);
34 }
35 }
36
37 </script>
38
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698