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

Unified Diff: content/test/data/accessibility/aria/aria-textbox-with-rich-text.html

Issue 1826453002: Reland of Exposed the children of elements with role textbox in order to make rich text information available… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/aria/aria-textbox-with-rich-text.html
diff --git a/content/test/data/accessibility/aria/aria-textbox-with-rich-text.html b/content/test/data/accessibility/aria/aria-textbox-with-rich-text.html
new file mode 100644
index 0000000000000000000000000000000000000000..09c0a11678cb99833c5535bc44b93520fb2d94a9
--- /dev/null
+++ b/content/test/data/accessibility/aria/aria-textbox-with-rich-text.html
@@ -0,0 +1,28 @@
+<!--
+@MAC-ALLOW:AXRole*
+@WIN-ALLOW:caret_offset*
+@WIN-ALLOW:ia2_hypertext=*
+@WIN-ALLOW:IA2_STATE_MULTI_LINE
+@WIN-ALLOW:IA2_STATE_SINGLE_LINE
+@WIN-ALLOW:n_selections*
+@WIN-ALLOW:selection_start*
+@WIN-ALLOW:selection_end*
+@WIN-ALLOW:value*
+@WIN-DENY:value='http://*'
+@WIN-ALLOW:xml-roles*
+-->
+<!DOCTYPE html>
+<html>
+<body>
+ <div id="textbox1" role="textbox" contentEditable><h1>TextBox1</h1></div>
+ <div role="textbox" aria-multiline="true" contentEditable>
+ <h2>TextBox2</h2>
+ <p>Some text.</p>
+ </div>
+
+ <script>
+ var textbox1 = document.getElementById("textbox1");
+ textbox1.focus();
+ </script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698