You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Mobile status pill above the composer is hidden from TalkBack on Android #39379
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/mobile
Steps to reproduce
On Android, open a thread in the mobile app.
Make the floating status pill above the composer show something. The easiest way is to go offline (airplane mode), which shows "You are offline". The pill also shows Stopping, Starting, child-thread input, goals and Pi extension statuses.
Read the accessibility tree (TalkBack, uiautomator, or an AccessibilityNodeInfo dump), or try to reach the pill with TalkBack.
Expected behavior
The pill is a focusable button with its label, like the composer buttons below it.
Actual behavior
The pill's node exists but has a clipped height of 0 and isVisibleToUser() == false, so TalkBack and accessibility snapshots skip it. It can only be tapped by screen coordinates. Raw node from Android, on main:
Cause: FloatingWorkingControl is drawn above its parent, the bottom-anchored composer host in ThreadDetailScreen, using top: -CONTROL_OVERLAY_OFFSET. React Native turns off child clipping, so the pill still draws and takes touches. But Android always clips a node's accessibility bounds to its parent's bounds, so the pill ends up 0px tall in the accessibility tree. The same happens while an Android question card is open, where the spacer that holds the pill sits outside the composer host.
Activity