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

Side by Side Diff: content/test/data/accessibility/html/modal-dialog-closed.html

Issue 815463006: Separating ARIA, HTML & event AX test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 12 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
1 <!-- 1 <!--
2 @MAC-ALLOW:AXSubrole=* 2 @MAC-ALLOW:AXSubrole=*
3 --> 3 -->
4 <html> 4 <html>
5 <body> 5 <body>
6 Test that elements respawn in the accessibility tree after a modal dialog 6 Test that elements respawn in the accessibility tree after a modal dialog
7 closes. 7 closes.
8 <section> 8 <section>
9 <dialog>This dialog is closed and should not be in the tree</dialog> 9 <dialog>This dialog is closed and should not be in the tree</dialog>
10 <select> 10 <select>
11 <optgroup label="Group"> 11 <optgroup label="Group">
12 <option>This should be in the tree.</option> 12 <option>This should be in the tree.</option>
13 </optgroup> 13 </optgroup>
14 </select> 14 </select>
15 </section> 15 </section>
16 <input type=color> 16 <input type=color>
17 <script> 17 <script>
18 var dialog = document.querySelector('dialog'); 18 var dialog = document.querySelector('dialog');
19 dialog.showModal(); 19 dialog.showModal();
20 dialog.close(); 20 dialog.close();
21 </script> 21 </script>
22 </body> 22 </body>
23 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698