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

Side by Side Diff: content/test/data/accessibility/aria/aria-posinset.html

Issue 1628283002: posinset and setsize for input type, radio, exposed in AX tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed isRadiobutton() Created 4 years, 9 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 | content/test/data/accessibility/aria/aria-posinset-expected-android.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 <!-- 1 <!--
2 @MAC-ALLOW:AXRole* 2 @MAC-ALLOW:AXRole*
3 @MAC-ALLOW:AXARIA* 3 @MAC-ALLOW:AXARIA*
4 @WIN-ALLOW:setsize* 4 @WIN-ALLOW:setsize*
5 @WIN-ALLOW:posinset* 5 @WIN-ALLOW:posinset*
6 @WAIT-FOR:Done
6 --> 7 -->
7 <html> 8 <html>
8 <body> 9 <body onload="loaded()">
9 <div role="listbox"> 10 <div role="listbox">
10 <div tabIndex="0" aria-setsize="4" aria-posinset="1" role="option">Item 1</div > 11 <div tabIndex="0" aria-setsize="2" aria-posinset="1" role="option">Item 1</div >
11 <div tabIndex="0" aria-setsize="4" aria-posinset="2" role="option">Item 2</div > 12 <div tabIndex="0" aria-setsize="2" aria-posinset="2" role="option">Item 2</div >
12 <div tabIndex="0" aria-setsize="4" aria-posinset="3" role="option">Item 3</div >
13 <div tabIndex="0" aria-setsize="4" aria-posinset="4" role="option">Item 4</div >
14 </div> 13 </div>
15 <div role="listbox"> 14 <div role="listbox">
16 <div tabIndex="0" role="option">Item 1</div> 15 <div tabIndex="0" role="option">Item 1</div>
17 <div tabIndex="0" role="option">Item 2</div> 16 <div tabIndex="0" role="option">Item 2</div>
18 <div tabIndex="0" role="option">Item 3</div>
19 <div tabIndex="0" role="option">Item 4</div>
20 <div tabIndex="0" role="option">Item 5</div>
21 </div> 17 </div>
18 <form>
19 <input type="radio" name="number" value="1" aria-setsize="4" aria-posinset="3" >1<br>
20 <input type="radio" name="number" value="2" aria-setsize="4" aria-posinset="4" >2
21 </form>
22 <input type="radio" name="fruits" value="Apple">Apple<br>
23 <input type="radio" name="fruits" value="Banana">Banana
24 <fieldset>
25 <legend>Cake</legend>
26 <label><input type="radio" name="cake" value="Chiffon cakes" checked>Chiffon c akes</label><br>
27 <label><input type="radio" name="cake" value="Chocolate cakes">Chocolate cakes </label>
28 </fieldset>
29 </form>
30 <form>
31 <p id = "pTag">
32 <label id="parent"><input type="radio" id="elem" name="color" value="red" ch ecked>red</label><br>
33 <label><input type="radio" name="color" value="blue">blue</label>
34 </p>
35 </form>
22 </body> 36 </body>
37 <script>
38 function loaded(){
39 var parent = document.getElementById("parent");
40 var child = document.getElementById("elem");
41 parent.removeChild(child);
42
43 var pTag = document.getElementById("pTag");
44 child = document.createElement("input");
45 child.type = "radio";
46 child.name = "color";
47 pTag.insertBefore(child, parent);
48
49 child.type = "button";
50 child.value = "changedFromRadio";
51 document.body.appendChild(document.createTextNode('Done'));
52 }
53 </script>
23 </html> 54 </html>
OLDNEW
« no previous file with comments | « no previous file | content/test/data/accessibility/aria/aria-posinset-expected-android.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698