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

Unified Diff: Source/core/accessibility/AXNodeObject.cpp

Issue 629003003: Adding roles in Blink side to expose menuitemcheckbox & menuitemradio role with correct IA2 role. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « no previous file | Source/core/accessibility/AXObject.h » ('j') | public/web/WebAXEnums.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXNodeObject.cpp
diff --git a/Source/core/accessibility/AXNodeObject.cpp b/Source/core/accessibility/AXNodeObject.cpp
index 28f096c7cddb160b66987da39743d3398478b60f..da26d038230af812a7bc25fe62b37a04317cb11b 100644
--- a/Source/core/accessibility/AXNodeObject.cpp
+++ b/Source/core/accessibility/AXNodeObject.cpp
@@ -1220,6 +1220,8 @@ String AXNodeObject::title() const
case ListBoxOptionRole:
case MenuButtonRole:
case MenuItemRole:
+ case MenuItemCheckBoxRole:
+ case MenuItemRadioRole:
case RadioButtonRole:
case TabRole:
return textUnderElement();
@@ -1472,6 +1474,8 @@ Element* AXNodeObject::actionElement() const
case ToggleButtonRole:
case TabRole:
case MenuItemRole:
+ case MenuItemCheckBoxRole:
+ case MenuItemRadioRole:
case ListItemRole:
return toElement(node);
default:
« no previous file with comments | « no previous file | Source/core/accessibility/AXObject.h » ('j') | public/web/WebAXEnums.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698