Stop reading a poll of a previous message on other messages - #1998
Open
mehranlatifi83 wants to merge 1 commit into
Open
Stop reading a poll of a previous message on other messages#1998mehranlatifi83 wants to merge 1 commit into
mehranlatifi83 wants to merge 1 commit into
Conversation
The poll a cell was bound to is kept in a field that is never cleared, so once a cell had shown a poll, every message it was later reused for had that poll question and type appended to what a screen reader reads, even though the message itself has nothing to do with it. Only report the poll when the message being read is a poll.
mehranlatifi83
force-pushed
the
fix/talkback-poll-title-on-other-messages
branch
from
August 3, 2026 17:16
6d901a1 to
aeb8846
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
In a chat that contains a poll, screen readers read the question and type of that poll on unrelated messages, at the start or the end of their own text.
The poll a cell was bound to is kept in a field that is never cleared. Once a cell has shown a poll, every message that cell is later reused for still has that poll appended to what is read, while the message is drawn correctly.
Only report the poll when the message being read is a poll itself.