diff --git a/React/Views/RCTView.m b/React/Views/RCTView.m index 0aa03e462ae7e7..5726a0c6fec098 100644 --- a/React/Views/RCTView.m +++ b/React/Views/RCTView.m @@ -84,11 +84,14 @@ - (UIView *)react_findClipView NSMutableString *str = [NSMutableString stringWithString:@""]; for (UIView *subview in view.subviews) { NSString *label = subview.accessibilityLabel; - if (label) { - [str appendString:@" "]; + if (!label) { + label = RCTRecursiveAccessibilityLabel(subview); + } + if (label && label.length > 0) { + if (str.length > 0) { + [str appendString:@" "]; + } [str appendString:label]; - } else { - [str appendString:RCTRecursiveAccessibilityLabel(subview)]; } } return str;