Rules
Learn more about the accessibility rules supported within axe DevTools for iOS. Below you'll find brief descriptions of each rule along with the link to the original guidelines. Rules come from three sources:
- WCAG Success Criterion
- Platform Guideline - defined by Apple
- Best Practice - defined by Accessibility Experts at Deque
In the navigation bar under Rules & Remediation, 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 the terms Name
, Role
, and Value
. To understand these terms better, please refer to WCAG's definitions.
Rule Overview
Some rules require Accessibility Inspector or an Assistive Technology (VoiceOver, Switch Control, etc.) to detect issues properly. Learn how to load the accessibility layer here.
Rule & Description | Guidelines | Impact | Requires Accessibility Layer | |
---|---|---|---|---|
Accessibility Element Focus Box | A11y Element Focus Box |
Best Practice | Moderate | ✓ |
Active Control Name | Active Control Name |
WCAG 2.0 - 4.1.2 A | Critical | ✓ |
Associated Text | Associated Text |
WCAG 2.0 - 1.3.1 A | Critical or Serious | |
Colliding Controls | Colliding Controls |
Platform Guideline | Moderate | |
Colliding Views | Colliding Views |
Platform Guideline | Minor | |
Color Contrast | Color Contrast |
WCAG 2.0 - 1.4.3 AA | Serious | |
Conflicting Traits | Conflicting Traits |
Platform Guideline | Critical | ✓ |
Focusable Text | Focusable Text |
WCAG 2.0 - 1.3.2 A | Critical | ✓ |
ImageView Name | ImageView Name |
WCAG 2.0 - 1.1.1 A | Critical | ✓ |
In ScrollView | In ScrollView |
WCAG 2.0 - 1.4.4 AA | Serious | |
Inaccessible Action | Inaccessible Action |
WCAG 2.0 - 2.1.1 A | Critical | |
Label At Front | Label At Front |
WCAG 2.1 - 2.5.3 Best Practice | Minor | |
Label In Name | Label In Name |
WCAG 2.1 - 2.5.3 A | Serious | |
Meaningful Accessible Name | Meaningful Accessible Name |
Platform Guideline | Minor | |
Nested Active Controls | Nested Active Controls |
WCAG 2.0 - 2.1.1 A | Critical | ✓ |
Nested Elements Name | Nested Elements Name |
WCAG 2.0 - 1.3.2 A | Critical | |
Screen Orientation | Screen Orientation |
WCAG 2.1 - 1.3.4 AA | Serious | |
Screen Title | Screen Title |
WCAG 2.0 - 2.4.2 A | Moderate | |
Supports Dynamic Type | Supports Dynamic Type |
Platform Guideline | Critical | |
Touch Target Size | Touch Target Size |
WCAG 2.1 - 2.5.5 AAA | Moderate |
axeDevToolsXCUI and SwiftUI Support
SwiftUI is supported only in axeDevToolsXCUI. The below rules cannot be violated within SwiftUI views and will not run:
- A11yElementFocusBox
Support for the following rules in axeDevToolsXCUI is under research/development:
- Inaccessible Action
- Nested Active Controls
- Screen Orientation
- Supports Dynamic Type