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

Side by Side Diff: content/test/data/accessibility/aom/aom-selected.html

Issue 2796223003: Boolean attributes for Accessibility Object Model Phase 1 (Closed)
Patch Set: Created 3 years, 8 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 <!--
2 @MAC-ALLOW:AXSubrole*
3 @MAC-ALLOW:AXSelected*
4 @WIN-ALLOW:SELECTED
5 @BLINK-ALLOW:selected*
6 -->
7 <html>
8 <body>
9 <div role="listbox">
10 <div tabIndex="-1" id="selectedtrue" aria-label="1" role="option">Item 1</div>
11 <div tabIndex="-1" id="selectedfalse" aria-label="2" role="option">Item 2</div >
12 </div>
13 <script>
14 document.getElementById("selectedtrue").accessibleNode.selected = true;
15 document.getElementById("selectedfalse").accessibleNode.selected = false;
16 </script>
17 </body>
18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698