[iOS] VoiceOver reads the placeholder in TextInput #44230
Labels
Component: TextInput
Related to the TextInput component.
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
Needs: Attention
Issues where the author has responded to feedback.
Needs: Version Info
Platform: iOS
iOS applications.
Description
When setting a
placeholder
in theTextInput
field, VoiceOver reads the placeholder text. This causes problems when an accessibilityLabel is also provided.Expected behaviour: Placeholder should not be read by a screen reader as it is just a visual component.
Steps to reproduce
Try this sample code:
React Native Version
0.74.0
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://snack.expo.dev/eiduCgHeg-d8A6PLexqp2
Screenshots and Videos
The text was updated successfully, but these errors were encountered: