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

Unified Diff: content/test/data/accessibility/aom/aom-atomic.html

Issue 2796223003: Boolean attributes for Accessibility Object Model Phase 1 (Closed)
Patch Set: Created 3 years, 8 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/aom/aom-atomic.html
diff --git a/content/test/data/accessibility/aom/aom-atomic.html b/content/test/data/accessibility/aom/aom-atomic.html
new file mode 100644
index 0000000000000000000000000000000000000000..24fda0bbf566c6c635f2608d872ff41014dbb503
--- /dev/null
+++ b/content/test/data/accessibility/aom/aom-atomic.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<!--
+@MAC-ALLOW:AXARIAAtomic=*
+@WIN-ALLOW:atomic:*
+@WIN-ALLOW:container-atomic:*
+@BLINK-ALLOW:liveAtomic=true
+-->
+<html>
+<body>
+ <p id="atomicfalse" role="log" aria-live="polite" tabindex="0"> This test is for atomic="false" </p>
+ <p id="atomictrue" role="log" aria-live="polite" tabindex="1"> This test is for atomic="true" </p>
+
+ <!-- Roles of "alert" and "status" have implicit aria-atomic of true. -->
+ <p id="alert" role="alert" tabindex="2">This test is for alert.</p>
+ <p id="status" role="status" tabindex="3">This test is for status.</p>
+
+ <script>
+ document.getElementById("atomicfalse").accessibleNode.atomic = false;
+ document.getElementById("atomictrue").accessibleNode.atomic = true;
+ </script>
+
+</body>
+</html>
« no previous file with comments | « content/shell/test_runner/web_ax_object_proxy.cc ('k') | content/test/data/accessibility/aom/aom-atomic-expected-android.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698