Skip to content

Commit 17f37ac

Browse files
committed
fix(a11y): Wrap nested views in accessible containers
1 parent 86e6a03 commit 17f37ac

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/e2e-test-app-fabric/test/__perf__/core/View.perf-test.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ class ViewPerfTest extends ComponentPerfTestBase {
5858
const NestedViews = () => (
5959
<View testID={this.testId} style={styles.container}>
6060
{Array.from({length: count}, (_, i) => (
61-
<View key={i} style={styles.nested} />
61+
<View key={i} style={styles.nested} accessible accessibilityRole="none">
62+
<View style={styles.nested} />
63+
</View>
6264
))}
6365
</View>
6466
);

0 commit comments

Comments
 (0)