Transcript
Page 1: Accessibility in Responsive web design

Building Inclusive and

Responsive websites

Chris Bush

UX Practice Lead - wearesigma.com

@wearesigma / @suthen

Page 2: Accessibility in Responsive web design

GeekTweet

#RWDa11yBest tweet will win a copy of

“design meets disability”.

If you don’t win it - buy it!

Page 3: Accessibility in Responsive web design

• TYPES OF IMPAIRMENT

• ACCESSIBLE DESIGN

• ACCESSIBLE CODE

• REVIEWING YOUR SITES

TOPICS

Page 4: Accessibility in Responsive web design

TYPES OF IMPAIRMENT

Page 5: Accessibility in Responsive web design

VisionAbility to see, or process visual information

HearingAbility to hear, or process acoustic information

MotorAbility to interact with a device

accurately and quickly

CognitiveAbility in mentally demanding areas such as

reading, memory, attention, or complex concepts or language

Modified from the BBC GEL Accessibility guidelines

TYPES OF IMPAIRMENT

Page 6: Accessibility in Responsive web design

VisionBlindness, low vision & colour blindness

HearingHearing loss

MotorDyspraxia, RSI, arthritis and cerebral palsy

CognitiveDown's syndrome, Asperger's and dyslexia

Modified from the BBC GEL Accessibility guidelines

TYPES OF IMPAIRMENT – LONG TERM

Page 7: Accessibility in Responsive web design

VisionForgot my glasses

HearingWatching a video in a noisy environment

MotorTemporary injury such as a broken wrist

CognitiveHangover!

TYPES OF IMPAIRMENT – TEMPORARY

Page 8: Accessibility in Responsive web design

START WITH DESIGN

Page 9: Accessibility in Responsive web design
Page 10: Accessibility in Responsive web design

…but the content

should not be.

DON’T PENALISE YOUR USERS

The use cases and UI may be different…

Page 11: Accessibility in Responsive web design

THINK ABOUT INTERACTION

Design hit areas to be

finger friendly

Page 12: Accessibility in Responsive web design

THINK ABOUT INTERACTION

Design hit areas to be

input device

friendly

Page 13: Accessibility in Responsive web design

THINK ABOUT COLOUR

2.7 million people in

the UK are colour blind

Page 14: Accessibility in Responsive web design

CHECK COLOUR CONTRAST

Photoshop to the

rescue, sort of.

Other tools include

Visolve andSim Daltonism

Page 15: Accessibility in Responsive web design

CHECK COLOUR CONTRAST

Not sure? Try the

Juicy studioContrast

tester

Anythingmissing?

Page 16: Accessibility in Responsive web design

Adequate line-heights(120-150%)

10-15 words on a

line

DESIGN FOR READABILITY

Clear visual hierarchy

A good background

contrast without flicker

Page 17: Accessibility in Responsive web design

SOLID FOUNDATIONS

Page 18: Accessibility in Responsive web design

ARIA

The Accessible Rich Internet Applications Suite, defines a way to make web content more

accessible to people with disabilities.

It especially helps with dynamic content and advanced user interfaces

• Landmark roles• States and properties

Page 19: Accessibility in Responsive web design

ARIA: LANDMARK ROLES

<header role=“banner”>

<aside role=“complimentary”>

<div id=“main” role=“main”>

<footer role=“contentinfo”>

<nav role="navigation">

Quick navigation between known content groups

<div id=“search” role=“search”>

Page 20: Accessibility in Responsive web design

ARIA: LANDMARK ROLES

<header role=“banner”>

<aside role=“complimentary”>

<div id=“main” role=“main”>

<footer role=“contentinfo”>

<nav role="navigation">Don’t over use them

<div id=“search” role=“search”>

No-one likes a chatty screen reader

Page 22: Accessibility in Responsive web design

ARIA: LANDMARK ROLES

Page 23: Accessibility in Responsive web design

ARIA: LANDMARK ROLES

Banner

Page 24: Accessibility in Responsive web design

ARIA: LANDMARK ROLES

Search

Page 25: Accessibility in Responsive web design

ARIA: LANDMARK ROLES

Navigation

Page 26: Accessibility in Responsive web design

ARIA: LANDMARK ROLESWhat the screen reader says

JAWS says:“Banner region start” and “Banner region end”.

NVDA 2012.3 says:“Banner region start” at the beginning of the banner landmark.

VoiceOver on IOS says:“Landmark start” and “Landmark end”. Does not say which landmark it is.

Talkback on Android says :“Banner” at the beginning of the landmark but does not identify the end of the landmark.

Page 27: Accessibility in Responsive web design

ARIA: LANDMARK ROLESImproving the experience for mobile

<navid=“popnav" aria-label=“Popular Navigation" role="navigation">

Mobile iOS 6“Popular Navigation, Landmark start”

Mixed support on older devices, so you should include meaningful text within landmarks to help users identify the context.

Page 28: Accessibility in Responsive web design

AVOIDING VERBOSITY

<div class="ottSidekickFeedLeadArticleWrapper "><a id="ott_sidekick1_lead_article_image_link" href=“http://news.sky.com/story/1020776"

class="Article" onclick="{removed}"><img title="Autumn Statement: Osborne Tightens The Screw"

alt="Autumn Statement: Osborne Tightens The Screw" src="-90x90.jpg"></a>

</div><div class="ottSidekickFeedLeadArticleContents">

<h4 class="hbx-lid"><a href="http://news.sky.com/story/1020776"

title="Autumn Statement: Osborne Tightens The Screw" onclick=“{removed}”>Autumn Statement: Osborne Tightens The ...</a>

</h4><p title="Chancellor George Osborne will warn there are no &quot;miracle cures&quot; as he admits

more drastic action is needed to balance Britain's books.">Chancellor George Osborne will warn there are no "miracle cures" as he admi...</p></div>

BAD EXAMPLE

Page 29: Accessibility in Responsive web design

AVOIDING VERBOSITY

<h2 class=" secondary-story-header"><a href="/news/uk-england-beds-bucks-herts-20603182"

rel="published-1354669877163" class="story"><img alt="Euromillions logo" src="http://news.bbcimg.co.uk/media/images/30185-1.jpg">Deadline day for £64m lotto prize</a>

</h2>

<p>The highest lottery prize ever to remain unclaimed - nearly £64m - will go to good causes if the winner does not come forward by 23:00 GMT.

</p>

GOOD EXAMPLE

Page 30: Accessibility in Responsive web design

CODE FOR SIMPLICITY

<form id="search" method="get" action="/help/search.htm" role="search">

<label for="query" id="searchlabel" class="hidden">Search</label> <input type="text" id="query" name="query" class="searchinput" value="" placeholder=“Enter a search term”/> <input id="searchsubmit" name="searchsubmit" type="image" value="Search" src="/u-gofotzyp/search.gif" />

</form>

LANDMARK ROLES BAD EXAMPLE

Page 31: Accessibility in Responsive web design

WHERE DID MY ZOOM GO?

Keep pinch-zoom

enabled

Page 32: Accessibility in Responsive web design

CHECKING YOUR WORK

Page 33: Accessibility in Responsive web design

• Some great checklists availablehttp://www.iheni.com/mobile-accessibility-tests/

http://www.w3.org/WAI/WCAG20/quickref/

• Listen to your sites on screen readers(Try turning your monitor off)

• Automated testers like achecker.caGreat learning device

• Expert reviewsRNIB – See it right

Abilitynet

Independent evaluators

Page 34: Accessibility in Responsive web design

RESOURCES

Page 35: Accessibility in Responsive web design

GREAT ACCESSIBILITY SITES• http://www.w3.org/WAI• http://webaim.org• http://achecker.ca/• http://www.bbc.co.uk/accessibility• http://www.abilitynet.org.uk/myway

www.iheni.com• http://www.rnib.org.uk/professionals/webaccessibility/designbuild/P

ages/design_build.aspx• http://usability.com.au/2008/09/accessible-forms-using-wcag-2-0

ARIA guides• http://www.w3.org/WAI/intro/aria.php• http://dvcs.w3.org/hg/aria-unofficial/raw-file/tip/index.html

Page 36: Accessibility in Responsive web design

COLOUR • http://juicystudio.com/services/luminositycontrastratio.php• http://www.ryobi-sol.co.jp/visolve/en/• www.colourblindawareness.org• www.24ways.org/2012/colour-accessibility• www.wearecolorblind.com• http://michelf.ca/projects/sim-daltonism/

READABILITY• http://informationarchitects.net/blog/100e2r/• http://www.plainenglish.co.uk/free-guides.html• http://webaim.org/techniques/writing/

Page 37: Accessibility in Responsive web design

[email protected]

wearesigma.com

@wearesigma / @suthen


Top Related