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

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: Rebase Created 8 years, 4 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..f7a7c74c8128276647402fe35bf7566fe1a2ce5a
--- /dev/null
+++ b/content/test/data/accessibility/button-name-calc.html
@@ -0,0 +1,22 @@
+<!--
+@WIN-ALLOW:description*
+-->
+<html>
+<body>
+ <button id="c0">InnerText0</button>
+ <button id="c1" title="Title1">InnerText1</button>
+ <button id="c2" title="Title2" aria-label="AriaLabel2">InnerText2</button>
+ <button id="c3" title="Title3" aria-label="AriaLabel3"
+ aria-labelledby="lb3">InnerText3</button>
+ <button id="c4" title="Title4" aria-label="AriaLabel4"
+ aria-labelledby="lb4" aria-describedby="db4">InnerText4</button>
+ <button id="c5" aria-describedby="db5">InnerText5</button>
+
+ <p aria-label="@NO_DUMP">
+ <span id="lb3">LabelledBy3</span>
+ <span id="lb4">LabelledBy4</span>
+ <span id="db4">DescribedBy4</span>
+ <span id="db5">DescribedBy5</span>
+ </p>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698