SlideShare a Scribd company logo
Coolfields Consulting www.coolfields.co.uk
@coolfields
Designing for Accessibility
Graham Armfield
Web Accessibility Consultant
WordPress Developer
graham.armfield@coolfields.co.uk
@coolfields
What I’m going to cover
Accessibility of websites and apps is primarily
down to markup – HTML or native app
languages.
But…
Design decisions can also influence
accessibility too.
@coolfields
What I’m going to cover
• Colour
• Catering for keyboard users
• Text and content
• Forms
@coolfields
Coolfields Consulting www.coolfields.co.uk
@coolfields
Colour
Video
From http://a11ymemes.tumblr.com
Colour contrast – text/background
6@coolfields
Colour contrast – text/background
7@coolfields
http://paciellogroup.com/resources/contrastAnalyser
Colour contrast – text/background
8@coolfields
http://paciellogroup.com/resources/contrastAnalyser
Colour contrast – between elements
9@coolfields
Low vision affects around 2 million people in the UK.
So, good colour contrast is important.
But,
you can have too much…
@coolfields
Pic by Julian Warren
A true story
Colour contrast for dyslexics
@coolfields
On The Beach
The sun baked down as I stumbled across
the ground.
I climbed way up to the top of the hill,
They all seem higher, and they always will.
To think I once had a postcard of this view,
sent by you,
How things change.
Original View What Tracy needs
On The Beach
The sun baked down as I stumbled across
the ground.
I climbed way up to the top of the hill,
They all seem higher, and they always will.
To think I once had a postcard of this view,
sent by you,
How things change.
Dyslexia affects approx 10% of the population, so over 6 million people in the UK.
Lyrics © Graham Armfield
13
Colour blindness
affects approx 8% of
the male population,
but only 1 in 200 females.
So that's about
2.7 million people
in the UK alone.
Using colour to convey meaning
14
Project Name Status Fully
Resourced?
Easy peasy project a
Quite a tricky project a
So glad I'm not on that project r
Going OK a
@coolfields
Red-green colour blindness is the most common type of colour blindness.
Coolfields Consulting www.coolfields.co.uk
@coolfields
Photo: mo llsh
Penalty Shoot-out
Ghana
USA
1 2 3 4 5
Coolfields Consulting www.coolfields.co.uk
@coolfields
Photo: mo llsh
Penalty Shoot-out
Ghana
USA
1 2 3 4 5
a
a
a
a
a
X X
X
Showing links with just colour
17@coolfields
Showing links with more than colour
18@coolfields
Coolfields Consulting www.coolfields.co.uk
@coolfields
Links, Buttons – define focus states
as well as hover states
For sighted keyboard users…
Keyboard focus should be at least as obvious as hover state.
20
Keyboard
Focus
Hover
Sometimes the default browser
focus indication just isn't enough
21
No Focus Got Focus
(In Firefox)
From http://a11ymemes.tumblr.com
No keyboard focus indication
across the entire site.
Demo of keyboard focus
Good sites
• Gov.uk
• M&S Bank
Not so good sites
• Men’s Health magazine
• (Lego Shop)
Coolfields Consulting www.coolfields.co.uk
@coolfields
Text & Content
Normal size
NB: Resizing and zooming are not the same thing.
Can your design handle resizing?
26@coolfields
Larger size
Normal size
This design does handle resizing
27@coolfields
Larger size
Demo of text resizing/zooming
Good sites
• Lego shop
Not so good sites
• Evans Cycles
• Dyson
Text justification
29
Left aligned text
"Rivers of white space"
Text justification
30
Left aligned textFully justified text
Coolfields Consulting www.coolfields.co.uk
@coolfields
Forms
Photo: AlecCouros
Video
From http://a11ymemes.tumblr.com
Placeholders
33
Placeholders
34
https://www.w3.org/TR/html5/forms.html#the-placeholder-attribute
Thanks for listening
Any questions?
graham.armfield@coolfields.co.uk
@coolfields
35

More Related Content

Designing for Accessibility - WordCamp London 2017

Editor's Notes

  1. My day job is mainly training developers in accessibility, and helping them solve accessibility issues. But some aspects of the design can affect accessibility – both positively and not so positively I'm going to have a look at a few of those.
  2. Who are we building websites for? If a website is selling products or services, it's easy to miss out on sales if the site is inaccessible to some. If we're building websites for clients, the we are hampering their business.
  3. It's important to remember who we're designing and building websites for – not everyone is the same. What we want to avoid is the situation where people abandon a site because they can't use it easily. Many people have poor vision, and the population is getting older as people live longer.
  4. A site I was involved in creating some years ago. Requirement was for an accessible website for a children's nursery. The initial design was very attractive, but very little of the reached the necessary colour contrast guidelines.
  5. In some places it's obvious where colour contrast is low.
  6. Even the main content text lack sufficient contrast.
  7. The borders on form elements are vital for some people
  8. A 'real-life' business example from a previous employer
  9. A more leisure orientated example
  10. Using colour is fine – just make sure it's not the only way
  11. Another way that colour alone is used to convey meaning
  12. Some thoughts on catering for keyboard only users
  13. Sadly this seems to be becoming more popular – removing all keyboard focus indication.
  14. Similar in a way to designing for mobile.
  15. Similar in a way to designing for mobile.
  16. Cause difficulty for many people – in many different ways.