Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Android: only report text changes for the input-focused node (double speech)

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

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
android, rust

調査の方向性

Start by reading AdapterChangeHandler::node_updated and the existing unit tests for text-change events. Check how input focus is represented and compare the event behavior with android.widget.TextView. Done means unfocused node text updates no longer emit TYPE_VIEW_TEXT_CHANGED, while updates to the focused edit field remain announced; verify that the content-change and live-region events still cover their cases.

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

説明

Problem

The Android adapter sends TYPE_VIEW_TEXT_CHANGED for every node whose text changed. Screen readers echo that event whether or not the source node is focused, so an update to an unfocused node (for example a read-only log the app updates) is spoken on top of whatever the app announced itself, and the user hears it twice.

Proposed fix

Report the event only for the node with input focus, as android.widget.TextView does. Changes to other nodes are still covered by the window content-change event, and live regions by their own event. The change is a few lines in AdapterChangeHandler::node_updated plus a unit test.

Testing

Tested on a physical realme RMX5032 running Android 16 (API 36) with Google TalkBack 17.1.0 and with BackTalk, in an app using this adapter: the double speech is gone and typing in the focused edit field is still announced.

AI disclosure

I used an AI assistant (Claude) to help investigate and write this change. I reviewed the diff and ran the checks and the device testing myself.

I saw that AccessKit no longer accepts external pull requests (#832), so I'm opening an issue instead. If the plan looks reasonable, I'd be glad to send the PR as a member; I have the change ready and can share it however you prefer.

主要言語
Rust
スター
1.5k
フォーク
127
平均マージ
16時間 45分
マージ済み PR(30日)
12

環境構築

はじめの一歩

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

AccessKit/accesskit のほかの issue

AccessKit/accesskit の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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