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 @@ -1949,6 +1949,18 @@ void AccessibilityNodeObject::visibleText(Vector<AccessibilityText>& textOrder)
19491949 if (!text.isEmpty ())
19501950 textOrder.append (AccessibilityText (text, AccessibilityTextSource::Children));
19511951 }
1952+
1953+ if (textOrder.size () == 0 && this ->isTableRow ()) {
1954+ AccessibilityObject* axObject = previousSibling ();
1955+ if (axObject && axObject->isHeading ()) {
1956+ TextUnderElementMode mode;
1957+ mode.includeFocusableContent = true ;
1958+ String text = axObject->textUnderElement (mode);
1959+ if (!text.isEmpty ()) {
1960+ textOrder.append (AccessibilityText (text, AccessibilityTextSource::Children));
1961+ }
1962+ }
1963+ }
19521964}
19531965
19541966void AccessibilityNodeObject::helpText (Vector<AccessibilityText>& textOrder) const
You can’t perform that action at this time.
0 commit comments