Skip to content

Stop reading a poll of a previous message on other messages - #1998

Open
mehranlatifi83 wants to merge 1 commit into
DrKLO:masterfrom
mehranlatifi83:fix/talkback-poll-title-on-other-messages
Open

Stop reading a poll of a previous message on other messages#1998
mehranlatifi83 wants to merge 1 commit into
DrKLO:masterfrom
mehranlatifi83:fix/talkback-poll-title-on-other-messages

Conversation

@mehranlatifi83

Copy link
Copy Markdown

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.

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
mehranlatifi83 force-pushed the fix/talkback-poll-title-on-other-messages branch from 6d901a1 to aeb8846 Compare August 3, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant