Skip to content

Commit 5020997

Browse files
joevilchesfacebook-github-bot
authored andcommitted
Comma separate co-opted accessibility labels
Summary: It is pretty jarring for semantically different labels to be read all at once, let's comma separate them - which VoiceOver will pause at. Android does this by default with its coopting implementation Changelog: [Internal] Differential Revision: D76921000
1 parent 94cbf20 commit 5020997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ + (void)collectAccessibilityElements:(UIView *)view
12151215
result = [NSMutableString string];
12161216
}
12171217
if (result.length > 0) {
1218-
[result appendString:@" "];
1218+
[result appendString:@", "];
12191219
}
12201220
[result appendString:label];
12211221
}

0 commit comments

Comments
 (0)