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

Unified Diff: content/test/data/accessibility/aom/aom-modal.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-modal.html
diff --git a/content/test/data/accessibility/aom/aom-modal.html b/content/test/data/accessibility/aom/aom-modal.html
new file mode 100644
index 0000000000000000000000000000000000000000..36b6427fedd5c38a2953711b3b6f3c826c9354d0
--- /dev/null
+++ b/content/test/data/accessibility/aom/aom-modal.html
@@ -0,0 +1,17 @@
+<!--
+@WIN-ALLOW:xml-roles:*
+@WIN-ALLOW:IA2_STATE_MODAL
+@BLINK-ALLOW:modal*
+-->
+<!DOCTYPE html>
+<html>
+<body>
+ <div role="dialog">Nonmodal</div>
+ <div id="modal" role="dialog">Modal</div>
+
+ <script>
+ document.getElementById("modal").accessibleNode.modal = true;
+ </script>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698