Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

Interface design decisions

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

45 minutes

Two users, one website

Aisha has a new laptop and fast home internet. Her grandfather has an old phone, a slow mobile signal and poor eyesight.

You build one website. It must work for both of them.

Good developers ask questions about the users before they design. Today you learn which questions to ask.

Key words

WordWhat it meansExample
Browser supportWhich web browsers your page works in.Chrome, Safari, Firefox, Edge
Target deviceThe kind of device you design for.a phone or a laptop
Responsive layoutA layout that changes to fit the screen size.
Media queryA CSS rule that applies only on some screen sizes.
BandwidthHow much data a connection can carry each second.
ContrastHow different the colour of the text is from the colour behind it. Strong contrast is easy to read.
BrandingThe colours, logo and style that make a company known.
AccessibilityMaking a product usable by people with many different needs.
Screen readerSoftware that reads the screen aloud for blind users.
Alt textA short text that describes a picture, for a screen reader.

The cells students fill in are left blank in this preview.

Seven design questions

QuestionAskExample decision
Browser supportWhich browsers do users have?Test in the 3 most used browsers
Target devicePhone, tablet, laptop or a mix?Phone first, then bigger screens
User characteristicsAge, skills, language, needs?Big text and simple words for older users
Available bandwidthIs the connection slow or costly?Small pictures, no auto-playing video
Style and brandingWhat look must it have?Use the company colours and logo
AccessibilityWho might find it hard to use?Alt text, keyboard use, contrast
Input methodHow will people give input?Big buttons for touch

The cells students fill in are left blank in this preview.

Try it: a responsive layout

Code: web
<div class="row">
  <div class="box">Menu</div>
  <div class="box">News</div>
  <div class="box">Shop</div>
</div>

Quick check: responsive design

Have a go

Quick check: responsive design

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Accessibility: design for everyone

Accessibility means making a product usable by people with many different needs. Some users are blind. Some cannot use a mouse. Some are colour blind. Some read English as a second language. Many are only tired, or using a phone in bright sun.

Good accessibility helps everyone. In the UK, the Equality Act 2010 also expects services to be accessible.

An accessibility checklist

CheckWhy
Every picture has alt textA screen reader can describe it
Text and background have strong contrast (a free checker tool gives a score of 4.5 or more)Easier to read for everyone
Everything works with the keyboard onlySome users cannot use a mouse
Every form box has a labelA screen reader can say what the box is for
Colour is not the only messageSome users cannot tell colours apart
Text can grow bigger without breaking the pageMany users need larger text
Videos have captionsDeaf users and users in noisy places

The cells students fill in are left blank in this preview.

Scenarios and decisions

ScenarioA good decision
Users are mostly on old phones with little dataLight pages, small pictures, text first
A club app for people aged 65 and overLarge text, simple words, strong contrast
A game played with a controller or a mouseHover and precise controls are fine
A bank must look like the bank's brandBrand colours and logo, but still enough contrast

The cells students fill in are left blank in this preview.

The lesson goes on

4 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.