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

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

Issue 813313002: TableCaptionElement is not exposed to accessibility (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebasing code Created 6 years 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/modules/accessibility/AXObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXNodeObject.cpp
diff --git a/Source/modules/accessibility/AXNodeObject.cpp b/Source/modules/accessibility/AXNodeObject.cpp
index c54c21b8416688e2c093828e3b08d368ef39c708..e9445935c010a82c94d42c682a509a8d913ff829 100644
--- a/Source/modules/accessibility/AXNodeObject.cpp
+++ b/Source/modules/accessibility/AXNodeObject.cpp
@@ -258,6 +258,8 @@ AccessibilityRole AXNodeObject::determineAccessibilityRoleUtil()
return DescriptionListRole;
if (node()->isElementNode() && node()->hasTagName(blockquoteTag))
return BlockquoteRole;
+ if (node()->isElementNode() && node()->hasTagName(captionTag))
+ return CaptionRole;
if (node()->isElementNode() && node()->hasTagName(figcaptionTag))
return FigcaptionRole;
if (node()->isElementNode() && node()->hasTagName(figureTag))
« no previous file with comments | « no previous file | Source/modules/accessibility/AXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698