A11y 101

A presentation at TfS Product Offsite in February 2023 in by Dan Matthew

Slide 1

Slide 1

Accessibility 101 dm@talis.com 17/02/2023

Slide 2

Slide 2

Agenda 1. Introduction to accessibility 2. Understanding accessibility 3. Designing for accessibility 4. Accessibility in development 5. Accessibility in product 6. Conclusion 7. Q&A

Slide 3

Slide 3

Introduction to accessibility

Slide 4

Slide 4

Models of disability

Slide 5

Slide 5

Medical

Slide 6

Slide 6

Social

Slide 7

Slide 7

Charity

Slide 8

Slide 8

A few definitions…

Slide 9

Slide 9

“It is a complex phenomenon, reflecting the interaction between features of a person’s body and features of the society in which he or she lives.” World Health Organisation

Slide 10

Slide 10

“Disability happens at the points of interaction between a person and society” Microsoft’s Inclusive Toolkit

Slide 11

Slide 11

“Disability is a mismatch between capability & barrier” Ian Hamilton

Slide 12

Slide 12

“Accessibility is avoiding an unnecessary mismatch between capability & barrier” Ian Hamilton

Slide 13

Slide 13

“A11y”

Slide 14

Slide 14

The numbers

Slide 15

Slide 15

20% fi One in ve have a disability of some kind

Slide 16

Slide 16

70% The majority of disabilities are hidden

Slide 17

Slide 17

2,200,000,000 Have a vision impairment

Slide 18

Slide 18

43,000,000 Registered blind, worldwide

Slide 19

Slide 19

507,000,000 Require correction with glasses or contact lenses, worldwide

Slide 20

Slide 20

The regulations

Slide 21

Slide 21

The regulations • UK: Public Sector Bodies (Websites and Mobile Applications)(No. 2) Accessibility Regulations 2018… AKA PSBAR • EU: EN 301 549 • Australia: Disability Discrimination Act • New Zealand: Web Accessibility Standard • USA: Section 508 (Amendment to Rehabilitation Act of 1973) / Americans with Disabilities Act (ADA)

Slide 22

Slide 22

The regulations • Web Content Accessibility Guidelines (WCAG) 2.1 AA • Perceivable • Operable • Understandable • Robust • ISO 30071-1 digital accessibility

Slide 23

Slide 23

Understanding accessibility

Slide 24

Slide 24

Types of disability

Slide 25

Slide 25

Disabilities can be… Permanent

Slide 26

Slide 26

Disabilities can be… Temporary

Slide 27

Slide 27

Disabilities can be… Situational

Slide 28

Slide 28

Hearing • Hearing impairment • Hearing loss • Deafness • Central Auditory Processing Disorder (ADP)

Slide 29

Slide 29

Hearing • Lip reading • Sign language • Captions • Transcripts

Slide 30

Slide 30

Vision • Blindness • Low vision • Colour blindness • Deafblind

Slide 31

Slide 31

Vision • Screen reader • Braile devices • Screen magni ers • High contrast fi • Screen tints

Slide 32

Slide 32

Mobility and dexterity • Missing limbs • Multiple sclerosis • Cerebral palsy • Stroke • Arthritis

Slide 33

Slide 33

Mobility and dexterity • Voice control/dictation • Alternate input devices

Slide 34

Slide 34

Cognition • For example… • Limited comprehension • Cognitive overload • Problem-solving skills • Short-term memory • Attention-de cit • Dyslexia fi • Autism

Slide 35

Slide 35

Cognition • Screen tints • Plain language • Simple and consistent layouts • Underlining/line focus • Personalisation options

Slide 36

Slide 36

Assistive technologies

Slide 37

Slide 37

Slide 38

Slide 38

Slide 39

Slide 39

Slide 40

Slide 40

Slide 41

Slide 41

Slide 42

Slide 42

Slide 43

Slide 43

Slide 44

Slide 44

Exercise https://talis.github.io/bootstrap-theme/example

Slide 45

Slide 45

Designing for accessibility

Slide 46

Slide 46

Techniques Universal design principles • Equitable use • Flexibility in use • Simple and intuitive use • Perceptible information • Tolerance for error • Low physical e ort ff • Size and space for approach and use

Slide 47

Slide 47

Techniques Colour • Text with a contrast ratio of 4.5:1 • Don’t rely on colour to communicate information

Slide 48

Slide 48

Techniques Operation • Anything that can be done with a mouse should be keyboard accessible • Focus states • Tab order • Target size • Think about ways to skip lengthy sections • Don’t remove link underlines

Slide 49

Slide 49

Techniques Misc. • Elements should be identi ed the same on all pages • Where should alternative content formats live? • Simple page design for easy skimming fi • Include diverse group of users in user research and testing

Slide 50

Slide 50

Tools Stark • Plugin for design tools (Sketch, Figma) • Browser extensions • Desktop application

Slide 51

Slide 51

Tools Colour Contrast Analyser • Desktop application • Ensures same algorithm is in use

Slide 52

Slide 52

Techniques Personas

Slide 53

Slide 53

Accessibility in development

Slide 54

Slide 54

Techniques HTML • Use the platform • Form elements • Buttons • Links • Elements introduced in HTML5 – header/nav/section/footer

Slide 55

Slide 55

Techniques Accessible Rich Internet Applications (ARIA) • O ers attributes to help express connections and states between HTML elements • Roles help describe the structure of the page • Allows creation of complex UI widgets ff • Needs to be used carefully

Slide 56

Slide 56

Techniques Automated testing • Unit tests • Browser tests

Slide 57

Slide 57

Techniques Semi-automated testing • Browser extensions • Lighthouse • WAVE • ARC • Axe

Slide 58

Slide 58

Techniques Manual testing • Con rming tab order fi • Using screenreader

Slide 59

Slide 59

Exercise(s) https://000498073.codepen.website/problems/

Slide 60

Slide 60

Accessibility in product

Slide 61

Slide 61

Techniques • Make time to do accessibility right • Familiarise with guidelines and best practice • Should be part of the ‘De nition of Done’ • Can’t always be xed with third-party products fi fi • Create a “System Accessibility Log”

Slide 62

Slide 62

Conclusion

Slide 63

Slide 63

Accessibility is a… Responsibility

Slide 64

Slide 64

Accessibility is an… Opportunity

Slide 65

Slide 65

Questions?