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

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

Issue 657293002: AX Handle LI element regardless of style (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Handle AX ListItemRole for LI element 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 | no next file » | 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 0c9853022fd7c7e6fdffe83f1c1395d4c2c83714..0bac2850993e1ba927dfe4df3fd42e6ab14a1a52 100644
--- a/Source/core/accessibility/AXRenderObject.cpp
+++ b/Source/core/accessibility/AXRenderObject.cpp
@@ -272,7 +272,7 @@ AccessibilityRole AXRenderObject::determineAccessibilityRole()
return ImageMapRole;
return LinkRole;
}
- if (cssBox && cssBox->isListItem())
+ if ((cssBox && cssBox->isListItem()) || isHTMLLIElement(node))
return ListItemRole;
if (m_renderer->isListMarker())
return ListMarkerRole;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698