Android: TalBack reads style

オープン
#59,231 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
50/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, react-native

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
C++
スター
127k
フォーク
25.4k
平均マージ
3日 8時間
マージ済み PR(30日)
118

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

react/react-native のほかの issue

react/react-native の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。