Background image
logologo symbol

4 - Connecting to the World

Design UI - Accessible UI

Description

Design world has evolved a lot since the early days of the web, and today we try to make websites that EVERYONE can use. A design that looks clean but that some people can't read or navigate fails at its main job: to communicate with all users. So our goal is to create something more than just visually appealing designs, we want designs that are accessible, where every user, no matter their abilities, can navigate and interact with our product.
In this guide we're going to learn about the most popular Figma plugin for accessibility, Stark, and go through its features. There are other tools out there you can explore, but Stark has everything we need.

Testing tools explained:
Contrast
  • Checks the contrast between two layers (for example text and its background) and gives it a score from WCAG, which is the official accessibility standard. You will see two scores: AA and AAA.
  • AA is the one you HAVE to pass. It's what the law (the European Accessibility Act) and basically every client asks for. AAA is a bonus, and for some designs it's not even possible, so don't stress about it. Pass AA everywhere and take AAA when it comes for free.
  • The numbers, so you can check colors yourself without the plugin:
    • Normal text: 4.5:1
    • Large text (around 24px, or 19px bold): 3:1
    • Icons and borders of input fields: 3:1 (people forget these because there is no text!)
  • Tip: fix contrast when you are picking your color palette, not at the end. Changing a brand color after everything is designed is a pain.
Typography
  • Flags text that will be hard to read: text that is too small, lines that are too long, and justified text (it makes uneven gaps between words that are really hard to follow, especially for people with dyslexia).
  • Fun fact: WCAG has no minimum font size. What it asks for is that people can zoom the text to 200% without the layout breaking. That said, body text under 16px is uncomfortable for a lot of people, so use 16px as your minimum.
Touch targets
  • A touch target is the area you can actually tap with your finger. Fingers are much less precise than a mouse, and someone with shaky hands, or sitting on a bus, is even less precise. This tool checks that your buttons and links are big enough.
  • 24x24px is the minimum (AA), 44x44px is AAA, and 44 is also what Apple and Google recommend, so aim for 44.
  • The tap area can be bigger than what you see: a small 16px icon with padding around it can still be a 44px target.
Vision simulator
  • There are many conditions that affect vision, like color blindness, blurry vision or loss of contrast. This tool shows us how people with these conditions SEE our design, so we can fix colors, sizes and contrast.

Annotation tools explained:
Annotation tools are not for testing. They are for marking how things should be built, so the developers know exactly what to do:
Alt text
  • Alt text is the name of an image for someone who can't see it. A screen reader reads it out loud instead of the picture. Without it the user just hears "image", or even worse, the file name IMG_4821.png.
  • Describe what the image is DOING on the page, not just what is in it. The same team photo could be "Our team outside the Reykjavík office" on an About page, and "Six people laughing together over lunch" on a careers page.
  • If an image is only decoration, mark it as decorative, so the screen reader skips it instead of reading out noise.
Focus order
  • Many people can't use a mouse and navigate a website with the keyboard only, jumping from one link or button to the next with the Tab key. We decide in which order they move through the page so it makes sense, for example: logo → menu → main button → content → footer. The developers then build it in that same order.
Headings & landmarks
  • Headings: we mark which text is H1, H2, H3 and so on, so the developers use the right tags. Screen reader users jump between headings to scan a page, just like you scan a page with your eyes.
  • Landmarks: we mark the main sections of the page, like header, nav, main and footer. If a developer uses a <div> for the menu instead of <nav>, the screen reader just says "group", but with <nav> it says "navigation" and the user knows where they are.

One last thing, and it's the important one!
These annotations are NOT just paperwork. In Module 4 the developers are building them: they learn that a clickable thing has to be a <button>, that icon-only buttons need a name, and that focus always has to be visible. But they can't guess YOUR decisions: which image is decorative, what the alt text should say, and in which order a keyboard user should move through the page.
So if you skip the annotations, nobody can make them up later. And if you add them, they end up in the real product!
What about AI?
AI can help you here, for example you can ask it to suggest alt text for your images or to check if your heading structure makes sense. But always read it through yourself: AI knows what is IN the image, not what it's DOING on your page. And AI is not a replacement for testing your design with Stark.

Topics

  • Role of color and contrast in accessibility
    • WCAG AA vs AAA, and which one you have to pass
    • Contrast ratios: 4.5:1 normal text, 3:1 large text, icons and input borders
  • Readable typography, and why WCAG has no minimum font size
  • Touch targets: 24x24 (AA) and 44x44 (AAA)
  • Designing for screen readers and keyboard users
    • Alt text that describes purpose, not contents
    • Decorative images
    • Focus order
    • Headings and landmarks
  • Using Figma plugins to test and annotate
  • Using AI for alt text, and checking its work

Goals

Knowledge

Understand the basic principles of accessible design
Understand that AA is the level you have to pass, and AAA is a bonus
Know the numbers: 4.5:1 contrast for normal text, 3:1 for large text and icons, 44x44px touch targets
Understand what alt text is for, and why you describe what the image does on the page
Understand the Stark plugin and its features

Skills

Be able to design accessible layouts in Figma
Be able to use Stark to test contrast, typography, touch targets and color vision
Be able to annotate a design for developers: alt text, focus order, headings and landmarks
Be able to check if a color pair passes AA without a plugin

Idea for return

SUBMIT:
  • FIGMA URL
THE TASK:
  • Design a one or two-page layout in Figma with accessibility in mind, but make it look good too! Accessible doesn't mean boring.
  • Test it with Stark: contrast, typography, touch targets and the vision simulator. Fix everything that fails AA.
  • Annotate your design for the developers:
    • Alt text for every image (or mark it as decorative)
    • Focus order for the whole page
    • Headings (H1, H2, H3...) and landmarks (header, nav, main, footer)
  • Leave comments in your Figma file explaining your most important accessibility decisions and WHY.
KEEP IN MIND:
Your reviewer should be able to open your file and understand how a developer would build it accessibly, without asking you anything.