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

Unified 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, 10 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/accessibility/aria/aria-posinset.html
diff --git a/content/test/data/accessibility/aria/aria-posinset.html b/content/test/data/accessibility/aria/aria-posinset.html
index e9ffd1c99713d4b61aff54f07728c7dd5062f4e4..ea61f59f1119b068a4a6553184d4d68cf41bba53 100644
--- a/content/test/data/accessibility/aria/aria-posinset.html
+++ b/content/test/data/accessibility/aria/aria-posinset.html
@@ -3,21 +3,52 @@
@MAC-ALLOW:AXARIA*
@WIN-ALLOW:setsize*
@WIN-ALLOW:posinset*
+@WAIT-FOR:Done
-->
<html>
-<body>
+<body onload="loaded()">
<div role="listbox">
- <div tabIndex="0" aria-setsize="4" aria-posinset="1" role="option">Item 1</div>
- <div tabIndex="0" aria-setsize="4" aria-posinset="2" role="option">Item 2</div>
- <div tabIndex="0" aria-setsize="4" aria-posinset="3" role="option">Item 3</div>
- <div tabIndex="0" aria-setsize="4" aria-posinset="4" role="option">Item 4</div>
+ <div tabIndex="0" aria-setsize="2" aria-posinset="1" role="option">Item 1</div>
+ <div tabIndex="0" aria-setsize="2" aria-posinset="2" role="option">Item 2</div>
</div>
<div role="listbox">
<div tabIndex="0" role="option">Item 1</div>
<div tabIndex="0" role="option">Item 2</div>
- <div tabIndex="0" role="option">Item 3</div>
- <div tabIndex="0" role="option">Item 4</div>
- <div tabIndex="0" role="option">Item 5</div>
</div>
+<form>
+ <input type="radio" name="number" value="1" aria-setsize="4" aria-posinset="3">1<br>
+ <input type="radio" name="number" value="2" aria-setsize="4" aria-posinset="4">2
+</form>
+<input type="radio" name="fruits" value="Apple">Apple<br>
+<input type="radio" name="fruits" value="Banana">Banana
+<fieldset>
+ <legend>Cake</legend>
+ <label><input type="radio" name="cake" value="Chiffon cakes" checked>Chiffon cakes</label><br>
+ <label><input type="radio" name="cake" value="Chocolate cakes">Chocolate cakes</label>
+</fieldset>
+</form>
+<form>
+ <p id = "pTag">
+ <label id="parent"><input type="radio" id="elem" name="color" value="red" checked>red</label><br>
+ <label><input type="radio" name="color" value="blue">blue</label>
+ </p>
+</form>
</body>
+<script>
+function loaded(){
+ var parent = document.getElementById("parent");
+ var child = document.getElementById("elem");
+ parent.removeChild(child);
+
+ var pTag = document.getElementById("pTag");
+ child = document.createElement("input");
+ child.type = "radio";
+ child.name = "color";
+ pTag.insertBefore(child, parent);
+
+ child.type = "button";
+ child.value = "changedFromRadio";
+ document.body.appendChild(document.createTextNode('Done'));
+}
+</script>
</html>
« 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