Skip to main content
Figma Basics – Complete Beginner to Advanced Guide
CHAPTER 22 Beginner

Accessibility in UI/UX Design

Updated: May 16, 2026
30 min read

# CHAPTER 22

Accessibility in UI/UX Design

1. Introduction

If an architect builds a massive, beautiful library but forgets to include a wheelchair ramp, the building is fundamentally broken, regardless of how stunning the aesthetic architecture is. Digital design operates under the exact same ethical and legal mandate. Approximately 15% of the global population experiences some form of disability. If your application relies entirely on faint gray text, tiny buttons, and color-coded error messages, millions of users are physically unable to use your product. In the tech industry, this is known as Accessibility (a11y). In this chapter, we will master inclusive design. We will dissect the WCAG (Web Content Accessibility Guidelines), enforce strict mathematical contrast ratios, design for color blindness, and architect interfaces that can be navigated entirely without a mouse.

2. Learning Objectives

By the end of this chapter, you will be able to:
  • Define Accessibility (a11y) and explain its legal and ethical importance.
  • Understand the core principles of the WCAG (Web Content Accessibility Guidelines).
  • Mathematically test and enforce minimum Color Contrast ratios (4.5:1).
  • Design interfaces that do not rely solely on color to convey critical information.
  • Structure layouts to support Keyboard Navigation and Screen Readers.

3. What is WCAG?

The Web Content Accessibility Guidelines (WCAG) is the international rulebook for digital accessibility. In many countries (including the US and EU), building a non-WCAG compliant website for a major corporation or government entity can result in massive, multi-million-dollar lawsuits. WCAG is graded on three levels:
  • A (Minimum): The bare essentials.
  • AA (Standard): The legal target for 99% of commercial websites and apps.
  • AAA (Exceptional): The highest standard, often required for specialized government or medical software.

4. Color Contrast (The #1 Offense)

The most common accessibility failure in modern UI design is poor color contrast. Designers love placing light gray text on a white background because it looks "sleek and minimalist." A user with cataracts or low vision cannot read a single word of it.
  • The Rule (WCAG AA): Standard text (like a paragraph) must have a contrast ratio of at least 4.5:1 against its background. Large text (Headers) must be at least 3.0:1.
  • How to test it: Never trust your own eyes. Use a Figma plugin like "Stark" or "Contrast." Select your text layer and background layer, and the plugin will instantly output the exact mathematical ratio. If it is 3.2:1, you must darken the text until it crosses the 4.5 threshold!

5. Designing for Color Blindness

Roughly 8% of men are color blind (most commonly Red-Green color blindness). *The Mistake:* A designer creates a form. If the user types a bad password, the input box turns Red. If the password is good, the box turns Green. To a color-blind user, both boxes look exactly the same shade of muddy brown. They have no idea if they succeeded or failed. *The Rule:* Never rely on color alone to convey meaning.
  • *The Fix:* If an error occurs, turn the box Red AND add a highly visible icon (like a warning ! triangle) AND explicit red text saying "Invalid Password." The shape and the text provide the context that the missing color cannot.

6. Keyboard Navigation and Screen Readers

Many users with motor disabilities cannot physically use a computer mouse. They navigate the entire internet using only the Tab key on their keyboard. Users with severe visual impairments use Screen Readers, which literally read the HTML code of the website out loud to them.
  • Focus States: Every button and link must have a massive, highly visible "Focus Ring" (usually a bright blue outline) that highlights the button when a user Tabs onto it.
  • Logical Hierarchy: Screen readers read from top-to-bottom, left-to-right. If you use messy CSS or bizarre layouts to place the "Checkout" button visually at the top, but structurally at the bottom of the code, the blind user will never find it. Your Figma layout must follow a strict, logical, linear flow.

7. Diagrams/Visual Suggestions

*Visual Concept: The Color Blindness Simulator* Provide a three-panel image of a "Submit Payment" screen containing a Green success banner and a Red error banner.
  • Panel 1 (Normal Vision): The Green and Red banners are vibrant and distinct.
  • Panel 2 (Deuteranopia - Red/Green Color Blindness): The image is passed through a color-blind filter. Both the Green and Red banners appear as identical, dull yellowish-browns.
  • Panel 3 (The Accessible Fix): The same muddy-brown banners, but now one has a massive checkmark icon () and the other has a warning icon (!).
This stark visual instantly forces a beginner to realize why relying on color alone is a catastrophic failure.

8. Best Practices

  • Accessible Touch Targets: As covered in Chapter 8 and 12, accessibility extends to mobile ergonomics. Users with motor tremors (e.g., Parkinson's disease) cannot precisely tap a tiny 20px link. Enforcing the absolute minimum 44x44px touch target size is a critical accessibility mandate, ensuring your app remains usable for the elderly and physically impaired.

9. Common Mistakes

  • Hiding Focus Rings: For years, graphic designers hated the thick blue "Focus Ring" that appeared around a button when it was clicked, because it "ruined the aesthetic." They would tell developers to write code to hide it (outline: none;). This completely destroyed the ability of keyboard-only users to navigate the internet, as they could no longer see where they were on the screen! *Never hide focus states. Design them to match your brand beautifully instead!*

10. Mini Project: Audit Your Own Design

Let's test an existing layout for legal compliance.
  1. 1. Open any previous Figma file where you designed a UI Card or a Landing page.
  1. 2. Go to Figma Plugins and install a free contrast checker (e.g., A11y - Color Contrast Checker or Stark).
  1. 3. Run the plugin.
  1. 4. Select your lightest gray paragraph text and the white background beneath it.
  1. 5. Does the plugin show a green "PASS (4.5:1)" or a red "FAIL"?
  1. 6. If it fails, intentionally ruin your "sleek minimalist" aesthetic by darkening the text hex code until the plugin turns green. You have just made your design legally accessible!

11. Practice Exercises

  1. 1. Define the WCAG contrast rule for standard body text. Why is relying on human intuition to determine if text is "readable" insufficient for enterprise accessibility standards?
  1. 2. Explain the fundamental design rule regarding the use of Color in UI design. How must a designer structure an "Error State" on a form without relying on the color red?

12. MCQs with Answers

Question 1

You are designing an enterprise dashboard that will be used by thousands of corporate employees. To comply with the legal standards of the Web Content Accessibility Guidelines (WCAG AA), you must ensure that all standard paragraph text achieves a minimum mathematical contrast ratio against its background. What is this minimum ratio?

Question 2

A designer creates a financial trading app. When a stock goes up, the number is green. When a stock goes down, the number is red. There are no other indicators. Approximately 8% of the male population will open this app and see a wall of identical muddy-brown numbers, making the app completely useless to them. How should the designer fix this?

13. Interview Questions

  • Q: Explain the legal and ethical purpose of the WCAG (Web Content Accessibility Guidelines). If a client demands you use very faint, light-gray text on a white background because it looks "premium and clean," how do you professionally reject their request?
  • Q: Walk me through your design process for a user who cannot physically use a mouse and relies entirely on the "Tab" key on their keyboard to navigate a website. What specific visual state must you design for every button and link?
  • Q: What is Deuteranopia (Red-Green color blindness), and how does it fundamentally change how you approach designing "Success" and "Error" banners in a SaaS application?

14. FAQs

Q: Does making a design "Accessible" make it ugly? A: This is the biggest myth in UI design! High contrast is not ugly; it is bold and confident. Look at Apple's website, or Spotify's app. They are heralded as the most beautiful interfaces in the world, and they strictly adhere to massive 7.0:1 contrast ratios and massive touch targets. Accessibility is just good design.

15. Summary

In Chapter 22, we elevated our role from mere decorators to ethical engineers. We recognized that digital accessibility is a fundamental human right, governed by the strict, mathematically enforced mandates of the WCAG. We abandoned the selfish pursuit of "minimalist aesthetics" when it conflicted with the 4.5:1 contrast requirement. We acknowledged the reality of color blindness, insisting that shapes, icons, and text must always accompany color to convey critical system states. Finally, we designed beyond the mouse, accommodating keyboard navigators and screen readers, ensuring our applications are universally accessible to all humans.

16. Next Chapter Recommendation

Our application is perfectly structured, highly aesthetic, and legally accessible. It is time to add the final layer of modern polish: high-end motion design. Proceed to Chapter 23: Advanced Prototyping and Animations.

Finish this Chapter

Save your progress on your learning path and prepare for coding interview challenges.

Discussion

Join the discussion

Log in or create a free account to participate.

Sort: ·