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; |