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

Unified Diff: content/test/data/accessibility/button-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/button-name-calc.html
diff --git a/content/test/data/accessibility/button-name-calc.html b/content/test/data/accessibility/button-name-calc.html
new file mode 100644
index 0000000000000000000000000000000000000000..f4e29106dd5458ef24d7f007be6d44b39cca309d
--- /dev/null
+++ b/content/test/data/accessibility/button-name-calc.html
@@ -0,0 +1,22 @@
+<!--
+@WIN-ALLOW:description*
+-->
+<html>
+<body>
+ <button id="c0">InnerText</button>
+ <button id="c1" title="Title">InnerText</button>
aboxhall 2012/08/01 01:56:57 Would it be worthwhile having a more complicated e
dmazzoni 2012/08/01 03:22:41 Yes! But maybe for the next test? This is complica
aboxhall 2012/08/06 01:55:49 Makes sense, and I've certainly caused enough dela
+ <button id="c2" title="Title" aria-label="AriaLabel">InnerText</button>
+ <button id="c3" title="Title" aria-label="AriaLabel"
+ aria-labelledby="lb3">InnerText</button>
+ <button id="c4" title="Title" aria-label="AriaLabel"
+ aria-labelledby="lb4" aria-describedby="db4">InnerText</button>
+ <button id="c5" aria-describedby="db5">InnerText</button>
+
+ <p aria-label="@NO_DUMP">
+ <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