Announce download and upload percentage to screen readers - #1992
Open
mehranlatifi83 wants to merge 1 commit into
Open
Announce download and upload percentage to screen readers#1992mehranlatifi83 wants to merge 1 commit into
mehranlatifi83 wants to merge 1 commit into
Conversation
mehranlatifi83
force-pushed
the
feature/talkback-download-upload-percent
branch
4 times, most recently
from
August 1, 2026 22:52
00a7948 to
5c1e168
Compare
Download and upload progress is only partly available to screen reader users. Documents, GIFs and videos announce the transferred size but never the percentage, and other media announce nothing at all while they are being transferred. This change: - Announces the transfer as "Downloading 25%, 2 MB of 34 MB" when the message is reached, so the percentage comes before the sizes that were already announced. - Announces "Downloading 25%" for media that has no size to report, such as photos, voice messages and music, which previously stayed silent. - Follows the transfer while the message is being read: every 10% while the finger rests on it, and at most every 2.5 seconds while it only holds accessibility focus, and only when it moved at all. Messages that are neither touched nor focused stay silent. - Keeps those updates to what changed, the percentage and how much of the file arrived, since reaching the message already told what it is doing and how large it is. - Removes the duplicate upload announcement, where the same message reported both its uploaded size and a separate "Sending" percentage. - Keeps the spoken text in sync with the button state, so cancelling a download drops the progress from the message instead of leaving the last value behind. Whether the transfer is running is taken from the same button state the visible icon uses, so audio, music and video all resolve correctly. Nothing changes visually, and only existing Telegram strings are used.
mehranlatifi83
force-pushed
the
feature/talkback-download-upload-percent
branch
from
August 3, 2026 03:13
5c1e168 to
e6a36d0
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
Download and upload progress is only partly available to screen reader users. Documents, GIFs and videos announce the transferred size but never the percentage, and other media announce nothing at all while they are being transferred.
This change:
Whether the transfer is running is taken from the same button state the visible icon uses, so audio, music and video all resolve correctly. Nothing changes visually, and only existing Telegram strings are used.