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

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

Issue 609793002: Add AX role ,'AXDescriptionList', for dl element(re-land). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: AX role for description list(rebased) Created 6 years, 3 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 | « Source/core/accessibility/AXObject.h ('k') | Source/web/AssertMatchingEnums.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXRenderObject.cpp
diff --git a/Source/core/accessibility/AXRenderObject.cpp b/Source/core/accessibility/AXRenderObject.cpp
index 7e91919e22e80b4a5b118990c8aa9b5ea3d54b48..1f88247c3da8f881ef2a9dd149fb8e29bd4fd832 100644
--- a/Source/core/accessibility/AXRenderObject.cpp
+++ b/Source/core/accessibility/AXRenderObject.cpp
@@ -357,6 +357,9 @@ AccessibilityRole AXRenderObject::determineAccessibilityRole()
if (node && node->hasTagName(ddTag))
return DescriptionListDetailRole;
+ if (node && node->hasTagName(dlTag))
+ return DescriptionListRole;
+
if (node && node->hasTagName(dtTag))
return DescriptionListTermRole;
« no previous file with comments | « Source/core/accessibility/AXObject.h ('k') | Source/web/AssertMatchingEnums.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698