Back to All Articles
Accessibility
Design

Accessible Mobile UI: Implementing WCAG for Native Apps

Accessibility isn't a checkbox — it's a design principle. A practical guide to building inclusive mobile apps that work for everyone.

A

Abhinav Birajdar

Creator

January 5, 20257 min read
Accessible Mobile UI: Implementing WCAG for Native Apps

Why Accessibility Matters

Accessibility isn't just a legal requirement or a feature for a niche audience. It's a quality signal. Apps built with accessibility in mind are easier to use for everyone — including users in bright sunlight, users with temporary injuries, elderly users, and users with permanent disabilities.

In 2025, 1 in 6 people globally live with some form of disability. Building accessible apps isn't optional — it's good engineering.


The Four Pillars: POUR

The Web Content Accessibility Guidelines (WCAG 2.1) are built on four principles, known as POUR:

  1. Perceivable — Information must be presentable in ways all users can perceive
  2. Operable — UI components must be operable by all users
  3. Understandable — Content and operation must be understandable
  4. Robust — Content must be interpreted by a wide variety of assistive technologies

1. Color Contrast

Color contrast is the most commonly violated accessibility requirement — and one of the easiest to fix.

Text TypeMinimum ContrastEnhanced (AAA)
Normal text (< 18pt)4.5:17:1
Large text (≥ 18pt bold)3:14.5:1
UI components & graphics3:1—

Tools to check contrast:


2. Touch Target Sizes

Small touch targets frustrate everyone. WCAG 2.1 AA recommends a minimum of 44×44 CSS pixels. Google Material Design specifies 48×48dp.

dart
1// Flutter: ensure minimum touch target
2SizedBox(
3  width: 48,
4  height: 48,
5  child: IconButton(
6    icon: const Icon(Icons.close),
7    onPressed: () {},
8    tooltip: 'Close dialog',
9  ),
10)
jsx
1// React Native: use hitSlop to extend touch area without changing visual size
2<TouchableOpacity
3  hitSlop={{ top: 12, bottom: 12, left: 12, right: 12 }}
4  onPress={handleClose}
5  accessibilityLabel="Close dialog"
6  accessibilityRole="button"
7>
8  <CloseIcon />
9</TouchableOpacity>

3. Screen Readers

Screen readers (TalkBack on Android, VoiceOver on iOS) read content aloud and allow touch-free navigation. Your app must make sense when listened to, not just seen.

React Native — Key Props

jsx
1<View
2  accessible={true}
3  accessibilityLabel="Profile photo of Abhinav Birajdar"
4  accessibilityRole="image"
5>
6  <Image source={{ uri: profileUrl }} />
7</View>

Flutter — Key Widgets

dart
1Semantics(
2  label: 'Profile photo of Abhinav Birajdar',
3  image: true,
4  child: Image.network(profileUrl),
5)

Common Screen Reader Roles

  • button — tappable actions
  • link — navigates to another screen or URL
  • image — visual content
  • header — section headings
  • text — body content
  • search — search input fields
  • checkbox / radio / switch — selection controls

4. Dynamic Font Sizes

Users set font sizes in system settings for a reason. Your app must respect this.

dart
1// Flutter: always use textScaler-aware sizing
2Text(
3  'Hello World',
4  style: Theme.of(context).textTheme.bodyMedium, // scales with system settings
5)
6
7// Never do this:
8// Text('Hello World', style: TextStyle(fontSize: 16)) // ignores user preference
jsx
1// React Native: allow font scaling (default behavior — don't disable it)
2<Text allowFontScaling={true} style={styles.body}>Hello World</Text>

5. Focus Order

Keyboard and switch-access users navigate your app by moving focus between elements. The order must be logical — typically left-to-right, top-to-bottom.

Common Focus Order Mistakes:

  • Modal opens but focus stays behind the modal overlay
  • Form jumps to submit button before all fields
  • Drawer opens but focus stays on the trigger button
  • Focus disappears when an element is removed from the tree

6. Color Is Not the Only Signal

Never use color as the sole means of conveying information.

❌ "Fields highlighted in red are required" ✅ "Required fields are marked with a red asterisk (*) and labeled as 'Required'"

❌ A success/error state communicated only by green/red color ✅ A success/error state with a color, icon, and text label


7. Motion & Animation

Some users have vestibular disorders that make animations physically uncomfortable or dangerous. Always respect the system's reduced-motion preference.

dart
1// Flutter: check for reduced motion
2final bool reduceMotion = MediaQuery.of(context).disableAnimations;
3
4AnimationController controller = AnimationController(
5  duration: reduceMotion ? Duration.zero : const Duration(milliseconds: 300),
6  vsync: this,
7);
jsx
1// React Native
2import { AccessibilityInfo } from 'react-native';
3
4const [reduceMotion, setReduceMotion] = useState(false);
5
6useEffect(() => {
7  AccessibilityInfo.isReduceMotionEnabled().then(setReduceMotion);
8}, []);

Quick Accessibility Audit Checklist

Run through this before every release:

  • All images have descriptive accessibilityLabel or alt text
  • Interactive elements have clear accessibility roles
  • Color contrast passes WCAG AA (4.5:1 for body text)
  • Touch targets are at least 44×44dp
  • Font sizes scale correctly with system settings
  • Screen reader announces logical focus order
  • No information conveyed by color alone
  • Reduced motion preference is respected
  • Error messages include both icon and descriptive text
  • Loading states are announced to screen readers

Conclusion

Building accessible mobile apps isn't harder — it just requires intentional decisions made early. When you design with accessibility in mind from the start, you end up with cleaner code, better UX for everyone, and an app that stands apart from the majority that ignore these standards.

Start with the basics: contrast, labels, touch targets, and font scaling. Then build from there.