Stop reading a translated caption twice on media messages - #1999
Open
mehranlatifi83 wants to merge 1 commit into
Open
Stop reading a translated caption twice on media messages#1999mehranlatifi83 wants to merge 1 commit into
mehranlatifi83 wants to merge 1 commit into
Conversation
Translating a chat replaces the message text of a media message with the translated caption, and the message text is what stands for the media type when a screen reader reads the message. The caption was therefore read once in place of the type and once again as the caption. Report the media type in that case, the same as an untranslated message does, and leave the caption to be read once where it belongs.
mehranlatifi83
force-pushed
the
fix/talkback-translated-caption-read-twice
branch
from
August 3, 2026 17:16
2bfe119 to
e4f61a3
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
When a chat is translated, screen readers read the caption of a media message twice: once where the media type belongs, and once again as the caption.
Translating replaces the message text of a media message with the translated caption, and the message text is what stands for the media type when the message is read. The type is therefore lost and the caption takes its place, on top of being read where it belongs.
Report the media type in that case, the same as an untranslated message does, and leave the caption to be read once. Messages without media are unaffected.