Skip to content

Keep the attach button reachable by touch exploration - #2002

Open
mehranlatifi83 wants to merge 1 commit into
DrKLO:masterfrom
mehranlatifi83:fix/talkback-attach-button-under-send-container
Open

Keep the attach button reachable by touch exploration#2002
mehranlatifi83 wants to merge 1 commit into
DrKLO:masterfrom
mehranlatifi83:fix/talkback-attach-button-under-send-container

Conversation

@mehranlatifi83

@mehranlatifi83 mehranlatifi83 commented Jul 31, 2026

Copy link
Copy Markdown

Summary

With nothing typed, exploring the message bar by touch where the attach button is drawn lands on the record voice message button, and a long press there opens the send options instead of the attach menu. Moving by swipe reaches the attach button correctly, so only exploring by touch is affected.

The container of the send button is 100dp wide and sits over the attach button next to it, while the button shown inside it is only as wide as itself. Touch and hover therefore stop at the container wherever the attach button is, and a long press on the container is what a screen reader is given to reach the send options.

Let the container take touch and hover only where a button of its own is shown, so what is touched is what is drawn. While recording it keeps taking everything over it, since its button is faded out and the recording circle takes its place there.

@mehranlatifi83
mehranlatifi83 force-pushed the fix/talkback-attach-button-under-send-container branch 2 times, most recently from 9050658 to e2e7c71 Compare August 1, 2026 09:58
The container of the send button is wider than the button shown in it and
reaches over the attach button next to it. Exploring by touch where the
attach button is drawn therefore lands on the send button, and a long
press there opens the send options, since a long press on the container
is what a screen reader is given to reach them. Moving by swipe finds the
attach button correctly, which is why only exploring by touch is
affected.

Let the container take touch and hover only where a button of its own is
shown, so what is touched is what is drawn.
@mehranlatifi83
mehranlatifi83 force-pushed the fix/talkback-attach-button-under-send-container branch from e2e7c71 to d213821 Compare August 3, 2026 17:15
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