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

Side by Side Diff: content/test/data/accessibility/event/aria-combo-box-expand.html

Issue 2024053003: Revert of Uses the activedescendant_changed event received from Blink to fire the right focus event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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-DENY:AXLayoutComplete*
3 -->
4 <!DOCTYPE html>
5 <html>
6 <body>
7 <input role="combobox" type="search" aria-expanded="false" aria-haspopup="true"
8 aria-autocomplete="list" aria-activedescendant="" aria-owns="list">
9 <ul id="list" role="listbox">
10 <li id="option1" role="option">Apple</li>
11 <li id="option2" role="option">Orange</li>
12 <li id="option3" role="option">Banana</li>
13 </ul>
14 <script>
15 document.querySelector('input').focus();
16 function go() {
17 var combo_box = document.querySelector('input');
18 combo_box.setAttribute('aria-expanded', 'true');
19 combo_box.setAttribute('aria-activedescendant', 'option1');
20 }
21 </script>
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698