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

Unified Diff: content/test/data/accessibility/aom/aom-disabled.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-disabled.html
diff --git a/content/test/data/accessibility/aom/aom-disabled.html b/content/test/data/accessibility/aom/aom-disabled.html
new file mode 100644
index 0000000000000000000000000000000000000000..eb97dc1f244622e66c06e54e1b96c189f1429d61
--- /dev/null
+++ b/content/test/data/accessibility/aom/aom-disabled.html
@@ -0,0 +1,16 @@
+<!--
+@MAC-ALLOW:AXEnabled*
+@WIN-ALLOW:UNAVAILABLE*
+@BLINK-ALLOW:disabled
+-->
+<!DOCTYPE HTML>
+<html>
+<body>
+ <input id="disabledtrue" type="text">
+ <input id="disabledfalse" type="text">
+ <script>
+ document.getElementById("disabledtrue").accessibleNode.disabled = true;
+ document.getElementById("disabledfalse").accessibleNode.disabled = false;
+ </script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698