Skip to content

text component doesn't show it's text to value attribute #17835

@pgajeshwar-coupa

Description

@pgajeshwar-coupa

Is this a bug report?

Yes, The value attribute is 'nil' while checking text component field with accessibility inspector.

Have you read the Contributing Guidelines?

Yes.

Environment

Environment:
OS: macOS High Sierra 10.13.2
Node: 4.8.0
Yarn: Not Found
npm: 5.5.1
Watchman: 4.7.0
Xcode: Xcode 9.1 Build version 9B55
Android Studio: 2.3 AI-162.4069837

Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.52.0 => 0.52.0

Steps to Reproduce

  1. Create one text component field and check in iOS app client
  2. Open Accessibility Inspector from xcode developer tools
  3. Highlight text component in Accessibility inspector
  4. Verify Value attribute in Accessibility inspector window

Expected Behavior

Accessibility inspector should show actual text assigned to that Text component field.

Actual Behavior

Accessibility inspector is showing value to all Text component fields.

This is really required while doing automated testing to validate correct text is being shown or not in that specific text field.

nil_value_of_text_component

Reproducible Demo

Can't connect accessibility inspector in provided site to show value attribute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions