Accessibility modal on Android
A modal overlays the screen with additional content. Modals are usually indicated visually, e.g. by throwing a shadow on the content below it. Users of assistive technologies also need to know when content is part of a modal.
On Android, there is no method to indicate an accessibility modal. However, you can can indicate an accessibility pane by using the
ViewCompat also contains a convenience method:
setAccessibilityPaneTitle. Please keep in mind that is focus is not trapped when a pane title has been set.
ViewCompat.setAccessibilityPaneTitle(view, "Appt pane")