OLD | NEW |
---|---|
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 p1 = document.getElementById("pTag"); | |
44 child = document.createElement("input"); | |
45 child.type = "radio"; | |
tkent
2016/03/01 01:43:00
We need a test to change input type from "radio" t
je_julie(Not used)
2016/03/01 13:46:07
I'll add it.
| |
46 child.name = "color"; | |
47 p1.insertBefore(child, parent); | |
48 document.body.appendChild(document.createTextNode('Done')); | |
49 } | |
50 </script> | |
23 </html> | 51 </html> |
OLD | NEW |