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

Unified Diff: content/test/data/accessibility/checkbox-name-calc.html

Issue 10823073: Improve accessible name calculation on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unintentionally modified file Created 8 years, 5 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
Index: content/test/data/accessibility/checkbox-name-calc.html
diff --git a/content/test/data/accessibility/checkbox-name-calc.html b/content/test/data/accessibility/checkbox-name-calc.html
new file mode 100644
index 0000000000000000000000000000000000000000..4e1f030775a26d2146086609b1f8d97995074ce1
--- /dev/null
+++ b/content/test/data/accessibility/checkbox-name-calc.html
@@ -0,0 +1,26 @@
+<!--
+@WIN-ALLOW:description*
+-->
+<html>
+<body>
+ <input id="c0" type="checkbox" title="Title">
+ <input id="c1" type="checkbox" title="Title">
+ <input id="c2" type="checkbox" title="Title" aria-label="AriaLabel">
+ <input id="c3" type="checkbox" title="Title" aria-label="AriaLabel"
+ aria-labelledby="lb3">
+ <input id="c4" type="checkbox" title="Title" aria-label="AriaLabel"
+ aria-labelledby="lb4" aria-describedby="db4">
+ <input id="c5" type="checkbox" aria-describedby="db5">
+
aboxhall 2012/08/01 01:56:57 You might want to add a test for getting the name
dmazzoni 2012/08/01 03:22:41 I could be wrong but I think that's only for an AR
aboxhall 2012/08/06 01:55:49 Oh, oops, I misread type="checkbox" for role="chec
+ <p aria-label="@NO_DUMP">
aboxhall 2012/08/06 01:55:49 Just for my understanding for writing tests in fut
+ <label for="c1">Label</label>
+ <label for="c2">Label</label>
+ <label for="c3">Label</label>
+ <label for="c4">Label</label>
+ <span id="lb3">LabelledBy</span>
+ <span id="lb4">LabelledBy</span>
+ <span id="db4">DescribedBy</span>
+ <span id="db5">DescribedBy</span>
+ </p>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698