Everything I Know About Accessibility I Learned from Stack Overflow

A presentation at CSUN Assistive Technology Conference in May 2018 in San Diego, CA, USA by Adrian Roselli

Slide 1

Slide 1

Everything I Know About Accessibility I Learned from Stack Overflow rosel.li/CSUN (case sensitive) #CSUNATC18 Presented by Adrian Roselli ( @aardrian ) at CSUN Assistive Technology Conference

Slide 2

Slide 2

HTML #CSUNATC18

Slide 3

Slide 3

HTML A: You can use < img alt=""> (no src attribute) to provide helpful content to screen readers. #CSUNATC18

Slide 4

Slide 4

HTML Q: Why can’t I activate a link on focus with this? <a href =&#34;#&#34;><div tabindex =&#34;0&#34;>Tab focus me, then ⏎

</div></a> #CSUNATC18

Slide 5

Slide 5

Slide 6

Slide 6

CSS #CSUNATC18

Slide 7

Slide 7

CSS A: You can disable link underlines that are added by user style sheets with !important . #CSUNATC18

Slide 8

Slide 8

CSS Q: I used jQuery to add border=0 to links, but everything gets a weird border. How do I remove it? #CSUNATC18

Slide 9

Slide 9

Slide 10

Slide 10

ARIA #CSUNATC18

Slide 11

Slide 11

ARIA A: Use aria

labelledby to associate each form field with the paragraph of instructions. #CSUNATC18

Slide 12

Slide 12

ARIA Q: VoiceOver won’t announce this image. What ARIA do I need to add to make it work? < img src ="foo.gif" alt=""> #CSUNATC18

Slide 13

Slide 13

ARIA Q: Can I avoid adding alt text if I just add aria

hidden="true" to every image? #CSUNATC18

Slide 14

Slide 14

Slide 15

Slide 15

Assistive Technology #CSUNATC18

Slide 16

Slide 16

Assistive Technology Q: How do I override how JAWS navigates tables and replace the keystrokes with my better keystrokes? #CSUNATC18

Slide 17

Slide 17

Assistive Technology Q: How can I check if a user has a disability or is using a screen reader? You know, to justify making a design accessible. #CSUNATC18

Slide 18

Slide 18

Slide 19

Slide 19

Survey Participants (2018) #CSUNATC18

Slide 20

Slide 20

“Physical Differences” 1.4% I am blind / have difficulty seeing 0.8% I am deaf / have difficulty hearing 0.3% I am unable to / find it difficult to walk and/or stand without assistance 0.3% I am unable to / find it difficult to type #CSUNATC18

Slide 21

Slide 21

“Mental Health and Differences” 8.5% I have a mood or emotional disorder (ex. depression, bipolar disorder) 7.8% I have an anxiety disorder 5.9% I have a concentration and/or memory disorder 2.1% I identify as autistic / a person with autism #CSUNATC18

Slide 22

Slide 22

Where Are Devs ? #CSUNATC18

Slide 23

Slide 23

Where Are Devs ? • Not in our Slack channels, • Not at our a11y conferences, • Not reading our specs • Not reading our blog

o

trons . #CSUNATC18

Slide 24

Slide 24

Where Are A11y Pros? #CSUNATC18

Slide 25

Slide 25

Where Are A11y Pros? • Are we on Stack Overflow? • Are we at local tech events? • Are we training teams? • Are we involved in education? • We need better outreach. #CSUNATC18

Slide 26

Slide 26

Resources #CSUNATC18

Slide 27

Slide 27

Resources Search for terms in your own answers with: user:me is:answer {search term} #CSUNATC18

Slide 28

Slide 28

Resources Add underlines to links ( rosel.li/ bookmarklets#SOlink ): javascript :(function(){ var a= document.createElement ('style'), b;document.head. appendChild (a);b= a.sheet;b.insertRule ('.post

text a:link, .post

text a:visited, .comment

copy a:link, .comment

copy a:visited{text

decoration:underline !important}',0);})() #CSUNATC18

Slide 29

Slide 29

Everything I Know About Accessibility I Learned from Stack Overflow rosel.li/CSUN (case sensitive) #CSUNATC18 Presented by Adrian Roselli ( @aardrian ) at CSUN Assistive Technology Conference