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

Unified Diff: content/shell/renderer/test_runner/web_ax_object_proxy.cc

Issue 633043002: Expose aria role menuitemcheckbox and menuitemradio with correct IA2 role.(Chromium) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updating expectations for android according to comments Created 6 years, 2 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/shell/renderer/test_runner/web_ax_object_proxy.cc
diff --git a/content/shell/renderer/test_runner/web_ax_object_proxy.cc b/content/shell/renderer/test_runner/web_ax_object_proxy.cc
index 6a87de673fdd77ca0de47465c7c6773e2a216aa8..256eea53916f98afab7ac1d11d3ae278d495994d 100644
--- a/content/shell/renderer/test_runner/web_ax_object_proxy.cc
+++ b/content/shell/renderer/test_runner/web_ax_object_proxy.cc
@@ -148,6 +148,10 @@ std::string RoleToString(blink::WebAXRole role)
return result.append("MenuButton");
case blink::WebAXRoleMenuItem:
return result.append("MenuItem");
+ case blink::WebAXRoleMenuItemCheckBox:
+ return result.append("MenuItemCheckBox");
+ case blink::WebAXRoleMenuItemRadio:
+ return result.append("MenuItemRadio");
case blink::WebAXRoleMenuListOption:
return result.append("MenuListOption");
case blink::WebAXRoleMenuListPopup:
« no previous file with comments | « content/renderer/accessibility/blink_ax_enum_conversion.cc ('k') | content/test/data/accessibility/aria-menuitemcheckbox.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698