Skip to content

0.71 breaks multi-line TextInput focus accessibility for legacy renderer #36465

@jgillick

Description

@jgillick

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 is verified broken from 0.71.0 - 0.71.4 and is not broken in 0.70.x.

React Native Version

0.71.4

Output of npx react-native info

System:
OS: macOS 13.0
CPU: (8) arm64 Apple M1
Memory: 106.13 MB / 16.00 GB
Shell: 3.6.0 - /opt/homebrew/bin/fish
Binaries:
Node: 19.7.0 - /usr/local/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 9.5.0 - /usr/local/bin/npm
Watchman: 2023.01.30.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: Not Found
SDKs:
iOS SDK:
Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9619390
Xcode: 14.1/14B47b - /usr/bin/xcodebuild
Languages:
Java: 11.0.11 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.4 => 0.71.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

  1. Using Expo Go, open an app on a physical iOS device.
  2. Navigate to a TextInput with multiline={true}
  3. Double-tap to activate the field.
  4. Observe that the screen reader does not announce "is editing".

Snack, code example, screenshot, or link to a repository

https://github.com/jgillick/rn-input-multiline-a11y-bug

Metadata

Metadata

Assignees

Labels

AccessibilityComponent: TextInputRelated to the TextInput component.StaleThere has been a lack of activity on this issue and it may be closed soon.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions