Index: Source/modules/accessibility/AXTable.cpp |
diff --git a/Source/modules/accessibility/AXTable.cpp b/Source/modules/accessibility/AXTable.cpp |
index 761d4985b37252470ae7cdb6e71bc52d6b3f76c6..1f87ce1d1be1cef0b3e34fbf833eda90d77a7741 100644 |
--- a/Source/modules/accessibility/AXTable.cpp |
+++ b/Source/modules/accessibility/AXTable.cpp |
@@ -468,6 +468,20 @@ void AXTable::columnHeaders(AccessibilityChildrenVector& headers) |
} |
} |
+void AXTable::rowHeaders(AccessibilityChildrenVector& headers) |
+{ |
+ if (!m_renderer) |
+ return; |
+ |
+ updateChildrenIfNecessary(); |
+ |
+ unsigned rowCount = m_rows.size(); |
+ for (unsigned r = 0; r < rowCount; r++) { |
+ if (AXObject* header = toAXTableRow(m_rows[r].get())->headerObject()) |
+ headers.append(header); |
+ } |
+} |
+ |
void AXTable::cells(AXObject::AccessibilityChildrenVector& cells) |
{ |
if (!m_renderer) |