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

Unified Diff: LayoutTests/accessibility/readonly.html

Issue 1039023002: AX nodes that aren't contenteditable should be readonly. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@listboxes_too
Patch Set: Add test Created 5 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
« no previous file with comments | « no previous file | LayoutTests/accessibility/readonly-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/accessibility/readonly.html
diff --git a/LayoutTests/accessibility/readonly.html b/LayoutTests/accessibility/readonly.html
index 537358b152905127f74a5991e0f6954a5323d721..05c4f2bd989d654ecb18c67767f0c4765de2acd6 100644
--- a/LayoutTests/accessibility/readonly.html
+++ b/LayoutTests/accessibility/readonly.html
@@ -62,6 +62,12 @@ if (window.testRunner && window.accessibilityController) {
check("aria-link1", true);
check("contenteditable_root1", false);
check("contenteditable_button1", false);
+
+ // An additional check for a mock AX object.
+ var axSelect = accessibilityController.accessibleElementById('combobox1');
+ var axMenuListPopup = axSelect.childAtIndex(0);
+ shouldBe("axMenuListPopup.role", "\"AXRole: AXMenuListPopup\"");
+ shouldBe("axMenuListPopup.isReadOnly", "true");
}
</script>
« no previous file with comments | « no previous file | LayoutTests/accessibility/readonly-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698