Rules for Compose Layouts
Learn more about the accessibility rules supported within axe DevTools for Android. Below you'll find brief descriptions of each rule along with the link to the original guidelines. Rules come from two sources:
- WCAG Success Criterion
- Best Practice - defined by Accessibility Experts at Deque
In the navigation bar under Rules & Remediation for Compose Layouts, you'll find detailed information on each rule, including resolution tips. View this guide for impact rating and descriptions. Some rules will be marked with an experimental badge. Learn more about experimental rules and how you can help improve them.
Throughout our rules documentation, you'll find references to Name
, Role
, and Value
. Please refer to WCAG's definitions.
Rule Overview
Rule & Description | Guidelines | Impact | |
---|---|---|---|
Focusable Text | Focusable Text |
WCAG 2.0 - 1.3.2 A | Critical |
Icon Button Name | Icon Button Name |
WCAG 2.0 - 4.1.2 A | Critical |
Inactive Accessible View | Inactive Accessible View |
WCAG 2.0 - 4.1.2 A | Critical |
Label In Name | Label In Name |
WCAG 2.1 - 2.5.3 A | Moderate |
Nested Active Control | Nested Active Control |
WCAG 2.0 - 2.1.1 A | Critical |
Nested Element Name | Nested Element Name |
WCAG 2.0 - 1.3.2 A | Critical |
Switch Name | Switch Name |
WCAG 2.0 - 1.3.1 A | Critical |
Text Button Name | Text Button Name |
WCAG 2.0 - 4.1.2 A | Critical |
Text Field Label | Text Field Label |
WCAG 2.0 - 1.3.1 A | Serious |
Text Field Label In Name | Text Field Label In Name |
WCAG 2.1 - 2.5.3 A | Serious |