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

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

Issue 710663002: Adding role 'RubyRole' in blink to expose HTML Ruby tag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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') | no next file with comments »
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 80dc7bbc3cc1989b8dfffab6c844cadb76f748e7..917f64a04c8d02f4d37d2d1937f2474c6f17f19c 100644
--- a/Source/core/accessibility/AXNodeObject.cpp
+++ b/Source/core/accessibility/AXNodeObject.cpp
@@ -253,6 +253,8 @@ AccessibilityRole AXNodeObject::determineAccessibilityRole()
return ParagraphRole;
if (isHTMLLabelElement(*node()))
return LabelRole;
+ if (isHTMLRubyElement(*node()))
+ return RubyRole;
if (isHTMLDListElement(*node()))
return DescriptionListRole;
if (node()->isElementNode() && node()->hasTagName(blockquoteTag))
« no previous file with comments | « no previous file | Source/core/accessibility/AXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698