Google rules
Google has created 14 accessibility testing rules for Android apps.
📄️ Class name
This rule checks elements have an appropriate className) set in their AccessibilityNodeInfo.
📄️ Clickable span
This rule checks if links are displayed using a ClickableSpan before Android 8.0 (API level 26).
📄️ Duplicate clickable bounds
This rule checks if multiple interactive items are displayed at the same location.
📄️ Duplicate speakable text
This rule checks if multiple elements have the same label.
📄️ Editable content description
This rule checks if a contentDescription has been set for editable views.
📄️ Image contrast
This rule checks if the contrast between foreground and background colors in images is 3.0:1 or higher.
📄️ Link purpose unclear
This rule checks if the label of links are unclear.
📄️ Redundant description
This rule checks if the label of views contain information about it's type, state or actions.
📄️ Speakable text present
This rule checks if focusable views have a non-empty label.
📄️ Text contrast
This rule checks if text has sufficient contrast against it's background.
📄️ Text size
This rule checks if text scales and has sufficient space to grow in size.
📄️ Touch target size
This rule checks if touch targets have a minimum size of 48x48 density-independent pixels (dp).
📄️ Traversal order
This rule checks if accessibility services move their focus through the elements on the screen in a logical order.
📄️ Unexposed text
This rule checks if all displayed text is exposed to accessibility services.