Practicing accessible engineering is the right thing to do. It's also required for anyone designing apps for governments or large institutions. Ensure your apps are as accessible as they can be.
visibility ◦ Set the color contrast ratio to at least 3:1. • Use large, simple controls ◦ Each interactive UI element have a focusable area, or touch target size, of at least 48dpx48dp. Larger is even better. • Describe each UI element ◦ Include description in the element's contentDescription attribute to describe element’s purpose.
groups of text that appear on screen. • If a particular View element represents a heading, you can indicate its purpose for accessibility services by setting the element's android:accessibilityHeading=true.
Voice Access, or Switch Access might need alternate ways to complete certain user flows within the app. • For example, if your app allows users to swipe on an item, you can also expose the functionality through a custom accessibility action, like this:
actions such as touch & hold, an accessibility service such as TalkBack announces it as "Double tap and hold to long press." • To make this announcement more descriptive, "Double tap and hold to favorite," will help users understand the purpose of the action.
you override, you also need to redefine the corresponding accessibility action by overriding ViewCompat.replaceAccessibilityAction(). • In your app's tests, you can validate the behavior of these redefined actions by calling ViewCompat.performAccessibilityAction().
a library that checks Android UI to identify area of improvement related to accessibility • Integrate ATF into existing Espresso tests with AccessibilityChecks.enable () Watch: Accessibility test framework and Espresso - Accessibility on Android