Skip to content

Fix opening the replied message in topics with screen readers - #2044

Open
mehranlatifi83 wants to merge 1 commit into
DrKLO:masterfrom
mehranlatifi83:fix/talkback-reply-not-openable-in-topics
Open

mehranlatifi83 wants to merge 1 commit into
DrKLO:masterfrom
mehranlatifi83:fix/talkback-reply-not-openable-in-topics

Conversation

@mehranlatifi83

@mehranlatifi83 mehranlatifi83 commented Aug 30, 2026 •

Copy link
Copy Markdown

Problem

Tapping the reply preview above a message jumps to the original message. With TalkBack, activating it does nothing in forum topics, in channel comments, and on some other messages.

The accessibility handler used different checks from the touch handler:

  • It rejected thread messages that do not carry the thread's top message id, which topics and comments often lack.
  • It ignored replies to stories.
  • For forwarded messages, the same area shows the forward source, and tapping it opens the source; the accessibility handler did not.

Fix

In ChatMessageCell, make the accessibility action do exactly what the touch handler does, with the same checks in the same order. Also name the area correctly: a forward source is no longer called a reply.

Testing

With TalkBack on, in a forum topic or channel comments, swipe onto the reply preview of a message and double tap.

Before: nothing happened. After: it jumps to the replied message, as tapping does. Story replies and forward sources work the same way.

@mehranlatifi83
mehranlatifi83 force-pushed the fix/talkback-reply-not-openable-in-topics branch from 423e69b to 922e3cc Compare August 30, 2026 09:45
@mehranlatifi83
mehranlatifi83 force-pushed the fix/talkback-reply-not-openable-in-topics branch from 922e3cc to dfbe349 Compare September 18, 2026 09:50
Touching what is drawn over a message goes to the message it answers.
Doing the same with a screen reader did nothing at all, on every message
in a topic and in the comments under a channel post, and on some messages
elsewhere.

Three conditions stood between the two. A thread was refused outright
unless the message carried the id of the one the thread was started from,
which a topic and a comment thread do not always have; a reply to a story
was left out; and where the message was a forward, the same place holds
where it came from rather than a reply, and touching it goes there, which
was not done.

The touch is one place and this was another, and they had drifted. What
happens now is what happens on a touch, asked for in the same order.

What is drawn there is also named for what it is: a forward said it was a
reply, whatever it went on to open.
@mehranlatifi83
mehranlatifi83 force-pushed the fix/talkback-reply-not-openable-in-topics branch 2 times, most recently from dbac21a to d835640 Compare October 1, 2026 23:01
@mehranlatifi83 mehranlatifi83 changed the title Open the message a reply was made to Oct 1, 2026
@mehranlatifi83
mehranlatifi83 force-pushed the fix/talkback-reply-not-openable-in-topics branch from d835640 to 856350a Compare October 13, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant