FE6: Interfaces everyone can use

Lesson 5 of 5 · reading 15–25 minutes; practice and project time is on the module page

Responsive layouts, contrast and comfort

🎯You'll be able to

Make layouts that work from 320 px wide and at 200% zoom, with enough contrast.

🏠The everyday picture

A good kurta pattern can be cut for different sizes without redrawing it from scratch. A responsive layout adapts to each screen the same way, from a small phone to a wide monitor.

📘What it really is

📝A worked example

Kirana's product card on a 360 px-wide phone:

Issue Measure Fix
Grey price text on white Contrast 2.8:1 Darker grey: 5.9:1
"−" and "+" quantity buttons 20 × 20 px 44 × 44 px tap area
"Out of stock" shown only by greying the card Colour only Text label "Out of stock" plus disabled button
Card text at 200% zoom Overlaps the image Layout stacks vertically
Bouncing "Sale" badge Constant motion Static unless the user allows motion

🌍Where it's used

📝Case scenario

An older customer calls to say she can't read prices and keeps tapping the wrong quantity button. Contrast and target size checks show both fail. Darkening the price text and enlarging the buttons fixes it for her, and mis-taps on the quantity stepper drop across all users in analytics.

🖱️Try it

Check your Kirana product card at 360 px wide and at 200% zoom. Measure contrast for every text colour and the size of every tap target, fix anything below the thresholds, and add a reduced-motion style for any animation.

⚠️Common mistakes

🛠️For your project

The kit's journey tests run on a Pixel 7 sized screen; check your Project 2 pages at 375 px too.

✅Quick check

What contrast ratio does WCAG AA require for normal text?

Show the answer

At least 4.5:1.

Why shouldn't colour alone show meaning, such as "out of stock"?

Show the answer

People with colour blindness or low vision may not notice it; text or an icon makes it clear to everyone.

← PreviousAccessible forms and dialogs
ProLearners Assist