Slide 1

Slide 1 text

Accessible by Design with Tim Knight

Slide 2

Slide 2 text

Hi! I’m Tim Knight Director User Experience @ GravityFree Studios Organizer of the St. Petersburg Front-End Meetup www.iamtimknight.com

Slide 3

Slide 3 text

“I’m not a lawyer and not the person you want interpreting the law for you, but I can tell you how to make better digital products.” Tim Knight The guy on the stage right now

Slide 4

Slide 4 text

Looking at Today • The roles of the ADA, Section 508, and WCAG on modern accessibility design • Changing our view on accessibility • Technology won’t save poor design: designing CRiSP • Designing components to be individually accessible • Think outside the structure • Accessibility testing tools that I love • Things you should read

Slide 5

Slide 5 text

The Legal Stuff

Slide 6

Slide 6 text

We’re Not Going Into Detail on This

Slide 7

Slide 7 text

“Federal procurement law requires that [Interactive transaction machines] purchased by the Federal government comply with standards issued by the Access Board under Section 508 of the Rehabilitation Act of 1973, as amended.” Section 707 of The American’s with Disability Act http://www.ada.gov/regs2010/2010ADAStandards/2010ADAstandards.htm#pgfId-1006537

Slide 8

Slide 8 text

“Federal procurement law requires that [Interactive transaction machines] purchased by the Federal government comply with standards issued by the Access Board under Section 508 of the Rehabilitation Act of 1973, as amended.” Section 707 of The American’s with Disability Act http://www.ada.gov/regs2010/2010ADAStandards/2010ADAstandards.htm#pgfId-1006537

Slide 9

Slide 9 text

If your company receives federal funding, current court rulings are starting to set precedent that this could include you too. Don’t Get Too Excited

Slide 10

Slide 10 text

WCAG • Perceivable - Information and user interface components must be presentable to users in ways they can perceive. • Operable - User interface components and navigation must be operable. • Understandable - Information and the operation of user interface must be understandable. • Robust - Content must be robust enough that it can be interpreted reliably by a wide variety of user agents, including assistive technologies. Web Content Accessibility Guidelines

Slide 11

Slide 11 text

Changing Our View

Slide 12

Slide 12 text

This is about creating products everyone can use.

Slide 13

Slide 13 text

“We’re all just temporarily abled.” Cindy Li Freelance Designer, Previously with Yahoo!

Slide 14

Slide 14 text

You wouldn’t make a website that wasn’t responsive would you?

Slide 15

Slide 15 text

Designing CRiSP

Slide 16

Slide 16 text

The visual presentation of text and images of text should have a contrast ratio of at least 4.5:1 Large-scale text and images of large-scale text should have a contrast ratio of at least 3:1 (14pt and bold or larger, or 18pt or larger) Contrast (AA)

Slide 17

Slide 17 text

The visual presentation of text and images of text should have a contrast ratio of at least 7:1 Large-scale text and images of large-scale text should have a contrast ratio of at least 4.5:1 (14pt and bold or larger, or 18pt or larger) Contrast (AAA)

Slide 18

Slide 18 text

Contrast (for Mac) https://usecontrast.com

Slide 19

Slide 19 text

Contrast Analyser for Sketch https://github.com/getflourish/Sketch-Color-Contrast-Analyser

Slide 20

Slide 20 text

Color Contrast Checker http://webaim.org/resources/contrastchecker/

Slide 21

Slide 21 text

Alerting with blinking, shaking, or other techniques that “flash” an item on the screen should not flash that item more than 3 times per second to reduce the chance of seizures. Refresh Rate

Slide 22

Slide 22 text

Make it clear to the user where they are, where they’ve been, and what their options are. State

Slide 23

Slide 23 text

State

Slide 24

Slide 24 text

State Pressing tab on BBC let’s you access accessibility features.

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

Avoid extended cognitive load to decipher the meaning of abstract images or complicated text. Perception (Yes, there’s probably a simple way I could have said that)

Slide 27

Slide 27 text

Accessible Components

Slide 28

Slide 28 text

Buttons

Slide 29

Slide 29 text

Links

Slide 30

Slide 30 text

Cards

Slide 31

Slide 31 text

Card: Alt Attributes

Slide 32

Slide 32 text

Card: Embrace Your Focus Ring

Slide 33

Slide 33 text

Icon Links Lists

Slide 34

Slide 34 text

Icon Links Lists

Slide 35

Slide 35 text

Forms

Slide 36

Slide 36 text

One option…

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

Buttons Menus & Toggling State

Slide 39

Slide 39 text

Buttons Menus & Toggling State

Slide 40

Slide 40 text

Tab Trapping

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

Thinking outside the document structure

Slide 47

Slide 47 text

Subtitle Workshop XE http://www.uruworks.net/

Slide 48

Slide 48 text

Aegisub http://www.aegisub.org/

Slide 49

Slide 49 text

YouTube https://www.youtube.com

Slide 50

Slide 50 text

Using Subtitle with HTML5 Video

Slide 51

Slide 51 text

Testing Tools I Love

Slide 52

Slide 52 text

Chrome DevTools / Lighthouse

Slide 53

Slide 53 text

Chrome DevTools / Lighthouse

Slide 54

Slide 54 text

aXe https://www.deque.com/axe/

Slide 55

Slide 55 text

pa11y https://github.com/pa11y/pa11y

Slide 56

Slide 56 text

Learning More

Slide 57

Slide 57 text

Accessibility for Everyone https://abookapart.com/products/accessibility-for-everyone

Slide 58

Slide 58 text

A Web for Everyone https://rosenfeldmedia.com/books/a-web-for-everyone/

Slide 59

Slide 59 text

Accessibility Handbook http://shop.oreilly.com/product/0636920024514.do

Slide 60

Slide 60 text

Inclusive Components http://book.inclusive-components.design/

Slide 61

Slide 61 text

The a11y Project https://a11yproject.com/

Slide 62

Slide 62 text

Questions?

Slide 63

Slide 63 text

thank you. Tim Knight iamtimknight.com Find this and other talks at https://speakerdeck.com/timknight