File tree Expand file tree Collapse file tree
Source/WebCore/accessibility Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1930,6 +1930,18 @@ void AccessibilityNodeObject::visibleText(Vector<AccessibilityText>& textOrder)
19301930 if (!text.isEmpty ())
19311931 textOrder.append (AccessibilityText (text, AccessibilityTextSource::Children));
19321932 }
1933+
1934+ if (textOrder.size () == 0 && this ->isTableRow ()) {
1935+ AccessibilityObject* axObject = previousSibling ();
1936+ if (axObject && axObject->isHeading ()) {
1937+ TextUnderElementMode mode;
1938+ mode.includeFocusableContent = true ;
1939+ String text = axObject->textUnderElement (mode);
1940+ if (!text.isEmpty ()) {
1941+ textOrder.append (AccessibilityText (text, AccessibilityTextSource::Children));
1942+ }
1943+ }
1944+ }
19331945}
19341946
19351947void AccessibilityNodeObject::helpText (Vector<AccessibilityText>& textOrder) const
You can’t perform that action at this time.
0 commit comments