Accessibility broken for multi-line TextInput focus accessibility (since 0.71) #44915
Labels
Accessibility
Component: TextInput
Related to the TextInput component.
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
Needs: Triage 🔍
Description
With React Native 0.71, multi-line TextInput fields are not announcing "is editing" to assistive devices when the field is activated. This results in assistive keyboards, like braille screen input, from working and renders the text input entirely unusable.
This was verified functional in 0.70.x. and broken since 0.71.0
Using git bisect and the rn-tester app, I believe the source of the bug is:
Removing the
accessibilityState
attribute ofRCTTextInputView
in TextInput.js seems to fix it. Is there any reason we need thisaccessibilityState
object for an input field?Steps to reproduce
multiline={true}
React Native Version
0.74.2
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/jgillick/rn-input-multiline-a11y-bug
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: