Skip to content

[Android] - accessibilityLabel ignored on TextInput when testing with TalkBack screen reader (and also placeholder overriding accessibilityLabel) #55004

Description

@BogdanCerovac

Description

This is actually a combined issue:

  1. TextInput and it's accessible name when we use accessibilityLabel - it works fine if field is empty. It does not announce accessibilityLabel if field has a value inside and accessibilityLabel is basically ignored - TalkBack only announces "Editing " and the input value (accessibilityLabel is then not announced at all).

  2. TextInput and it's accessible name when we use both accessibilityLabel and placeholder at the same time - only placeholder value is announced to a screen reader.

Steps to reproduce

React native - tested with default clean install and minimal code (please check Expo link for the whole code, but following code is essentially it).

  1. use the following code:
<TextInput
            accessibilityLabel="Your GUID (lbl2)"
            style={styles.input}
            onChangeText={onChangeText2}
            value={text2}
          />

Then test with TalkBack (this time I did not use physical keyboard (but we need to check that as well)):

  1. default focus announces accessibilityLabel value - OK

  2. write something in the field and move focus out of the field

  3. move focus back to the same field - accessibilityLabel is not announced at all - ISSUE

  4. use the following code:

<TextInput
            accessibilityLabel="Your GUID (lbl)"
            placeholder="Your GUID (plac)"
            style={styles.input}
            onChangeText={onChangeText}
            value={text}
          />

Then test with TalkBack:

  1. default focus announces placeholder value and accessibilityLabel is not announced at all - ISSUE
  2. write something in the field and move focus out of the field
  3. move focus back to the same field - accessibilityLabel and value are announced - OK

React Native Version

0.83.1

Affected Platforms

Runtime - Android

Output of npx @react-native-community/cli info

System:
  OS: Windows 11 10.0.26100
  CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700F
  Memory: 28.82 GB / 63.82 GB
Binaries:
  Node:
    version: 22.19.0
    path: C:\Program Files\nodejs\node.EXE
  Yarn: Not Found
  npm:
    version: 10.9.3
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: AI-242.23339.11.2421.12483815
  Visual Studio: Not Found
Languages:
  Java:
    version: 17.0.12
    path: C:\Program Files\Microsoft\jdk-17.0.12.7-hotspot\bin\javac.EXE
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli":
    installed: 20.0.0
    wanted: 20.0.0
  react:
    installed: 19.2.0
    wanted: 19.2.0
  react-native:
    installed: 0.83.1
    wanted: 0.83.1
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs

N/A

MANDATORY Reproducer

https://snack.expo.dev/@bogdancerovac/2025-12-30---a11y-testing-textinput---issues

Screenshots and Videos

Made a simple short video: https://youtu.be/xQTtPUkdN9Y

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: TextInputRelated to the TextInput component.Needs: Triage 🔍Platform: AndroidAndroid applications.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions