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

Side by Side Diff: third_party/WebKit/LayoutTests/accessibility/role-attribute.html

Issue 1561533003: AXMenuListOption should respect role attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/accessibility/role-attribute-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
1 <script src="../resources/js-test.js"></script> 1 <script src="../resources/js-test.js"></script>
2 <script src="../resources/accessibility-helper.js"></script> 2 <script src="../resources/accessibility-helper.js"></script>
3 <ul role="radiogroup"> 3 <ul role="radiogroup">
4 <li role="radio">Explicit Item 1</li> 4 <li role="radio">Explicit Item 1</li>
5 <li role="radio">Explicit Item 2</li> 5 <li role="radio">Explicit Item 2</li>
6 <li role="radio">Explicit Item 3</li> 6 <li role="radio">Explicit Item 3</li>
7 </ul> 7 </ul>
8 <ol> 8 <ol>
9 <li>Implicit Item 1</li> 9 <li>Implicit Item 1</li>
10 <li>Implicit Item 2</li> 10 <li>Implicit Item 2</li>
11 <li>Implicit Item 3</li> 11 <li>Implicit Item 3</li>
12 </ol> 12 </ol>
13 <select multiple role="group"> 13 <select multiple role="group">
14 <option role="textbox">Explicit Option 1</option> 14 <option role="textbox">Explicit Option 1</option>
15 <option role="textbox">Explicit Option 2</option> 15 <option role="textbox">Explicit Option 2</option>
16 </select> 16 </select>
17 <select multiple> 17 <select multiple>
18 <option>Implicit Option 1</option> 18 <option>Implicit Option 1</option>
19 <option>Implicit Option 2</option> 19 <option>Implicit Option 2</option>
20 </select> 20 </select>
21 <select role="group">
22 <option role="textbox">Explicit dropdown 1</option>
23 <option role="textbox">Explicit dropdown 2</option>
24 </select>
25 <select>
26 <option>Implicit dropdown 1</option>
27 <option>Implicit dropdown 2</option>
28 </select>
21 <progress value="22" max="100" role="status"></progress> 29 <progress value="22" max="100" role="status"></progress>
22 <progress value="22" max="100"></progress> 30 <progress value="22" max="100"></progress>
23 <input type="range" name="points" min="0" max="10" role="status"> 31 <input type="range" name="points" min="0" max="10" role="status">
24 <input type="range" name="points" min="0" max="10"> 32 <input type="range" name="points" min="0" max="10">
25 <p>End of test</p> 33 <p>End of test</p>
26 <p id="description"></p> 34 <p id="description"></p>
27 <div id="console"></div> 35 <div id="console"></div>
28 <script> 36 <script>
29 description("This tests that the role attribute is not missed."); 37 description("This tests that the role attribute is not missed.");
30 38
31 if (window.testRunner) 39 if (window.testRunner)
32 testRunner.dumpAsText(); 40 testRunner.dumpAsText();
33 if (window.accessibilityController) 41 if (window.accessibilityController)
34 buildAccessibilityTree(accessibilityController.focusedElement, 0, 1); 42 buildAccessibilityTree(accessibilityController.focusedElement, 0, 1);
35 </script> 43 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/accessibility/role-attribute-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698