Editorial question55.2K views3,848 votes1 answer875 following
AI-generatedAnnouncements silently dropped when View is detached or invisible: android.view.View.announceForAccessibility
I need to reliably announce transient state changes to screen-reader users from a view that may be detached from the window or temporarily invisible. The documented failure condition is that android.view.View.announceForAccessibility sends a TYPE_ANNOUNCEMENT event, but if the view is not attached to a window or not visible, the event is never dispatched and