Android: TalBack reads style

Đang mở
#59,231 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
50/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, react-native
Lĩnh vực
accessibility, mobile

Hướng nghiên cứu

Start with the linked React Native issue #56873 and its referenced patch, then use the mandatory reproducer app to confirm the TalkBack behavior on Android. Trace how text styles are exposed to accessibility when the label is recreated after “Increment ID.” Done means TalkBack reads “Hello, world” normally on both visits with “speak text formatting” enabled.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Needs: Triage :mag: Platform: Android
Description

On Android, TalkBack reads the style of the underlying text.
Previously this ticket has been opened about it, without a real fix.
This patch is the only thing that seems to be working fine.

Steps to reproduce
  1. Activate talkback, with verbosity high and enable speak text formatting
  2. Open the repro app
  3. Move on the "Hello, world" label
  4. Hear that it is read as Start 63 pixel, color black...
  5. Move again on "Hello, world" label
  6. Hear that is now read normally
  7. Click on Increment ID
  8. Move on the "Hello, world" label
  9. Hear that Start 63 pixel, color black... starts again
React Native Version

0.87.1

Affected Platforms

Runtime - Android

Output of npx @react-native-community/cli info
System:
  OS: macOS 26.7.1
  CPU: (12) arm64 Apple M3 Pro
  Memory: 208.80 MB / 18.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 24.17.0
    path: /Users/ilteoood/.local/state/fnm_multishells/93663_1792501581240/bin/node
  Yarn:
    version: 1.22.22
    path: /Users/ilteoood/.local/state/fnm_multishells/93663_1792501581240/bin/yarn
  npm:
    version: 11.13.0
    path: /Users/ilteoood/.local/state/fnm_multishells/93663_1792501581240/bin/npm
  Watchman:
    version: 2026.10.12.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /Users/ilteoood/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 27.0
      - iOS 27.1
      - macOS 27.0
      - tvOS 27.0
      - visionOS 27.0
      - watchOS 27.0
  Android SDK: Not Found
IDEs:
  Android Studio: 2026.2 AI-262.9437.185.2621.16467767
  Xcode:
    version: 27.1/27A9275
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.19
    path: /usr/bin/javac
  Ruby:
    version: 3.4.3
    path: /Users/ilteoood/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 20.2.0
    wanted: 20.2.0
  react:
    installed: 19.2.3
    wanted: 19.2.3
  react-native:
    installed: 0.87.1
    wanted: 0.87.1
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

info React Native v0.88.0 is now available (your project is running on v0.87.1).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.88.0
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.87.1&to=0.88.0
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".
Stacktrace or Logs
No logs can to share
MANDATORY Reproducer

https://github.com/ilteoood/rn-accessibility-repro

Screenshots and Videos

https://github.com/user-attachments/assets/bb90d5d6-3147-4586-b62c-779a2fdf8b3b

Ngôn ngữ chính
C++
Star
127k
Fork
25.4k
Merge trung bình
2 ngày 9 giờ
Pull request đã merge (30 ngày)
91

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của react/react-native

Tất cả issue của react/react-native

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.