1 of 91

Designing for Accessibility using the Lenses of Accessibility

2 of 91

Steven Lambert

stevenklambert.com�@StevenKLambert�steven@sklambert.com

http://bit.ly/lenses-of-accessibility

3 of 91

Is this design accessible?

4 of 91

Accessibility is solved at the design stage

5 of 91

What does it mean to design for accessibility?

6 of 91

7 of 91

“Good [accessible] design happens when you view your design from [as] many perspectives, or lenses,” as possible

8 of 91

A lens is “a narrowed filter through which a topic can be considered or examined.”

9 of 91

Lenses of Accessibility

  • Animation & Effects
  • Audio & Video
  • Color
  • Controls
  • Font
  • Images & Icons
  • Keyboard
  • Layout
  • Material Honesty
  • Readability
  • Structure
  • Time

10 of 91

Lens of Animation & Effects

11 of 91

Fast flashing (flashes more than 3 times a second), or high intensity effects or patterns can cause seizures (photosensitive epilepsy)

12 of 91

Parallax or motion effects can cause users to feel dizzy or experience vertigo (vestibular sensitivity)

13 of 91

Users are easily distracted by constant motion, especially to users who have difficulty concentrating

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc luctus, ligula vel finibus molestie, ipsum augue mollis arcu, id rutrum dui nibh ut diam.

Pellentesque a ex ornare, mattis nisi nec, ornare ante. Nam in tellus semper metus placerat dignissim id aliquam massa. Nullam consectetur odio non quam ultrices, id interdum nulla egestas.

14 of 91

Animation isn’t bad, just understand why you’re using it and how to design for safer animations

15 of 91

Ask Yourself these Questions

  • Are there any effects that could cause a seizure?
  • Are there any animations or effects that could cause dizziness or vertigo through use of motion?
  • Are there any animations that could be distracting by constantly moving, blinking, or auto-updating?
  • Is it possible to provide controls or options to stop, pause, hide, or change the frequency of any animations or effects?

16 of 91

Lens of Audio & Video

17 of 91

Autoplay videos and music. Don’t do it!

18 of 91

Videos should have transcripts and/or subtitles so users can consume it in a way that works best for them

19 of 91

Ask Yourself these Questions

  • Are there any audio or video that could be annoying by autoplaying?
  • Is it possible to provide controls to stop, pause, or hide any audio or videos that autoplay?
  • Do videos have transcripts and/or subtitles?

20 of 91

Lens of Color

21 of 91

22 of 91

Users without color blindness can see the difference

23 of 91

But users with Deuteranopia can’t

24 of 91

Which form field has the error?

25 of 91

26 of 91

Add a non-color identifier (icon, text, pattern, etc.)

27 of 91

Poor contrast between foreground and background make it harder to see for users with low vision, using a low-end monitor, or just in direct sunlight

28 of 91

Also ensure your design works in different variations of Windows High Contrast mode

29 of 91

Ask Yourself these Questions

  • If the color was removed from the design, what meaning would be lost?
  • How could I provide meaning without using color?
  • Are any colors oversaturated or have high contrast that could cause users to become overstimulated or uncomfortable?
  • Does the foreground and background color of all text, icons, and focus indicators meet contrast ratio guidelines of 4.5:1?

30 of 91

Lens of Controls

31 of 91

26px minimum touch target (44px recommended), 8px space between elements, visual size should be 60-100% of touch target size

32 of 91

Multiple touch targets all within a single click region can lead to touch errors

33 of 91

With no label, it’s hard to tell what the form field is after text is entered

34 of 91

Ask Yourself these Questions

  • Are any controls not large enough for someone to touch?
  • Are any controls too close together that would make it easy to touch the wrong one?
  • Are there any controls inside another control or clickable region?
  • Do all controls have a visible text label?

35 of 91

Lens of Font

36 of 91

The design should be flexible enough to allow users to increase font size, line height, or letter spacing to a comfortable reading level

37 of 91

Font styles that pose problems for users with Dyslexia

Small

ALL UPPERCASE

Italicized

Cursive

38 of 91

Ask Yourself these Questions

  • Is the design flexible enough that the font could be modified to a comfortable reading level by the user?
  • Is the font style easy to read?

39 of 91

Lens of Images & Icons

40 of 91

If this image was not viewable, how would you convey its information?

41 of 91

For the most part, you should describe the information of the image

42 of 91

Group

Data

A

9350

B

9450

C

9550

D

9650

E

9750

43 of 91

If this image was not viewable, how would you convey its information?

44 of 91

“It Depends!”

– Says everyone

Meaning depends on context, or how much textual information is already available that describes the information

45 of 91

What do these icons mean?

46 of 91

Always label icons with text so their meaning is understood

47 of 91

If the user can upload images, you should provide a way for the user to enter the alt text along with the image.

48 of 91

Ask Yourself these Questions

  • Does any image contain information that would be lost if it was not viewable?
  • How could I provide the information in a non-visual way?
  • If the image is controlled by the user, is it possible to provide a way for them to enter the alt text description?

49 of 91

Lens of Keyboard

50 of 91

A user using a keyboard typically uses the tab key to navigate to each control in sequence (left to right, top to bottom)

51 of 91

By making the most important user flows nearer to the top of the tab order, we can help enable our users to be more efficient and effective.

52 of 91

Focus styles should always be visible or a user can become lost

53 of 91

Ask Yourself these Questions

  • What keyboard navigation order makes the most sense for the design?
  • How could a keyboard user get to what they want in the quickest way possible?
  • Is the focus indicator always visible and visually distinct?

54 of 91

Lens of Layout

55 of 91

Layout should have a meaningful and logical sequence

56 of 91

Layout should be resizable to a minimum of 320px, or 400% zoom, with no horizontal scroll bars

57 of 91

Users using a screen magnifier benefit when related content is in close proximity to one another

58 of 91

Keep content that is related or triggered by an action in close proximity to one another so a screen magnifier can see them

59 of 91

Ask Yourself these Questions

  • Does the layout have a meaningful and logical sequence?
  • What should happen to the layout when it’s viewed on a small screen or zoomed in to 400%?
  • Is content that is related or changes due to user interaction in close proximity to one another?

60 of 91

Lens of Material Honesty

61 of 91

Material honesty is an architectural design value that states that a material should be honest to itself and not be used as a substitute for another material

62 of 91

When applied to web design, material honesty means that one element or component shouldn’t look, behave, or function as if it were another element or component.

63 of 91

Can you tell which one of these will navigate you away from the page and which won’t?

64 of 91

Autocomplete menus that are more than just text completion are materially dishonest

65 of 91

Ask Yourself these Questions

  • Is the design being honest to the user?
  • Are there any elements that behave, look, or function as another element?
  • Are there any components that combine distinct behaviors into a single component? Does doing so make the component materially dishonest?

66 of 91

Lens of Readability

67 of 91

Complex language and walls of text can pose problems for users, especially users with cognitive disabilities or who aren’t fluent in the language

68 of 91

Paragraphs should focus on a single idea and keep sentences short.

69 of 91

Break up the content with headings, lists, or images

70 of 91

Ask Yourself these Questions

  • Is the language plain and simple?
  • Does each paragraph focus on a single idea?
  • Are there any long paragraphs or long blocks of unbroken text?
  • Are all headings, links, controls, and labels clear and descriptive?

71 of 91

Lens of Structure

72 of 91

How would you know if this design was accessible to a user using a screen reader?

73 of 91

A screen reader interacts with the structure (HTML) of the design

74 of 91

This means you’ll need to understand basic HTML tags and how a screen reader interacts with them

75 of 91

Landmark elements allow a screen reader to jump to important sections in the design

76 of 91

Headings allow a screen reader to get a high level overview of the page, as well as jump to any heading

77 of 91

Lists (<ul> or <ol>) group related items together, and allow a screen reader to easily jump from one item to another

78 of 91

<button>s tigger interactions on the current page while links (<a>) Navigate or retrieve information

79 of 91

So what can we add to structural design that will help make the design more accessible?

80 of 91

Enhancing the design with headings and additional information allows screen readers to understand the visual hierarchy of the bracket

81 of 91

You need to make sure that the developer understands what structure you had in mind for the design, otherwise we’ll make everything a <div>.

82 of 91

Ask Yourself these Questions

  • Can I outline a rough HTML structure of my design?
  • How can I structure the design to better help a screen reader understand the content or find the content they want?
  • How can I help the person who will implement the design understand the intended structure?

83 of 91

Lens of Time

84 of 91

Users who need more time to perform an action should be able to adjust or remove a time limit when possible

85 of 91

Ask Yourself these Questions

  • Is it possible to provide controls to adjust or remove time limits?

86 of 91

How to use the Lenses

87 of 91

Start with a few at hand, and one at a time carefully analyze the design through a lens

88 of 91

Ask yourself the questions and see if anything should be adjusted to better meet the needs of a user. As you slowly make changes, bring in other lenses and repeat the process

89 of 91

As you are more inclusive to the needs of your users, you will create a more accessible design for all your users

90 of 91

Questions

91 of 91

Steven Lambert

stevenklambert.com�@StevenKLambert�steven@sklambert.com

http://bit.ly/lenses-of-accessibility