react / react/react-native

[iOS] TextInput clear button is not accessible

Open
#16,989 3 comments 0 reactions 1 assignee View on GitHub

@fabOnReact is already working on this.

Since Oct 19, 2022.

Accessibility Accessibility Team - Evaluated Component: TextInput
Dominant language
C++
Stars
127k
Forks
25.3k
Avg merge
1d 23h
Merged PRs (30d)
4

Description

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

Environment:
OS: macOS High Sierra 10.13.1
Node: 6.12.0
Yarn: 1.3.2
npm: 5.5.1
Watchman: 4.7.0
Xcode: Xcode 9.1 Build version 9B55
Android Studio: 3.0 AI-171.4408382

Packages: (wanted => installed)
react: 16.0.0-beta.5 => 16.0.0-beta.5
react-native: ^0.49.5 => 0.49.5

Target Platform: iOS (9)

Steps to Reproduce

https://snack.expo.io/S1EkFy5gG

  1. Input any text for the clear button to appear.
  2. Turn on Voice Over
  3. Try to select the clear button.
Expected Behavior

"Clear" button can be selected and activated. iOS native text input control supports it.

Actual Behavior

Voice Over cannot focus on the "clear" button.

Reproducible Demo

https://snack.expo.io/S1EkFy5gG

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.