Skip to content

Commit

Permalink
adding test case for child EditText node
Browse files Browse the repository at this point in the history
  • Loading branch information
fabOnReact committed May 27, 2022
1 parent 334b24d commit 9d72a70
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,22 @@ class AccessibilityExample extends React.Component<{}> {
</View>
</View>
</RNTesterBlock>

<RNTesterBlock title="TouchableNativeFeedback with non-accessible child Texts, one of them is an EditText">
<TouchableNativeFeedback
accessible={true}
importantForAccessibility="yes"
accessibilityRole="button">
<TextInput
accessible={false}
style={styles.default}
placeholder="this is the placeholder"
accessibilityRole="text"
secureTextEntry={true}>
<Text>Don't read this</Text>
</TextInput>
</TouchableNativeFeedback>
</RNTesterBlock>
</View>
);
}
Expand Down

0 comments on commit 9d72a70

Please sign in to comment.