An Introduction to Digital Accessibility

A presentation at Company Event in May 2022 in by Melanie Sumner

Slide 1

Slide 1

An Introduction to Digital Accessibility

Slide 2

Slide 2

Introduction

I’m Melanie Sumner, a Senior Software Engineer, on the Design Systems team at HashiCorp. I’m also on the Framework Core Team for Ember.js. I serve as an Invited Expert, W3C WAI-ARIA, and also as a Board Member, VetsWhoCode

Slide 3

Slide 3

Today's Agenda

1.Intro to WCAG 2.The Meta of Accessibility 3.State of Accessibility 4.Roles & Responsibilities 5.What’s Next?

Slide 4

Slide 4

Accessibility is a Journey

But in all of this, the most important takeaway I want you to have today is this: Accessibility is a Journey.

It takes time to learn. It takes time to process what accessibility means from an empathic perspective It takes time to adapt the way we’ve always thought about things and looked at things.

Slide 5

Slide 5

Passion, Patience, & Persistence

It requires passion, it requires patience and it requires persistence.

So be please kind to yourself and to others.

We’re all on this journey together.

Let’s dive in.

Slide 6

Slide 6

So. What is WCAG?

Slide 7

Slide 7

Web Content Accessibility Guidelines

The Web Content Accessibility Guidelines, or WCAG for short, are…well, they’re the rules. They are a set of success criteria used to evaluate the accessibility of digital content, and represent the minimum requirements for conformance.

Slide 8

Slide 8

WCAG Content

There are 3 levels 4 categories 13 guidelines 78 success criteria

Slide 9

Slide 9

Let’s look at the three levels.

Slide 10

Slide 10

There are three levels: A, AA, AAA A is the lowest level of conformance, and AAA is the most stringent. Each level includes the one preceding it

Slide 11

Slide 11

Most corporations and governments target AA as their minimum standard. Triple A is typically more geared toward educational institutions and some types of public resources.

In many developed countries, legal standards have been set to ensure that users with disabilities have access to the information they need, and have adopted the W3C’s conformance standards as a result.

Additionally, many state and federal governments are now requiring accessibility conformance standards to be met as a precondition for purchasing software.

Slide 12

Slide 12

4 categories

Let’s set those levels aside for a moment, and review how the criteria themselves are categorized. We have four categories:

Slide 13

Slide 13

Perceivable

The first category is perceivable.

Content must be perceivable to the user. This may mean presenting it in different ways for different type users so that they can consume the content without losing meaning.

Slide 14

Slide 14

Operable

The second category is operable, and relates to how the user can interact with the interface.

Some examples include

Make all functionality available from a keyboard. Give users enough time to read and use content. Do not use content that causes seizures or physical reactions. Help users navigate and find content. Make it easier to use inputs other than keyboard.

Slide 15

Slide 15

Understandable

The third category is understandable, and relates to content.

Some examples include Make text readable and understandable. Make content appear and operate in predictable ways. Help users avoid and correct mistakes.

Slide 16

Slide 16

Robust

And the fourth category is robust.

This means that the code rendered to the browser needs to be able to be successfully parsed and understood by assistive technology. Some techniques include using HTML according to the specification, ensuring all ID attributes on a page have unique values, and that the web pages themselves have been validated for technical accuracy.

Slide 17

Slide 17

guidelines and success criteria

These four categories are divided into 13 guidelines.

Within those 13 guidelines, there are a total of 78 success criteria! Each success criteria is given a level of A, AA, or AAA.

Of course, we don’t have time to review each of these now, but they are available on the web and will be covered in future accessibility trainings.

Slide 18

Slide 18

Some words you might hear

Now, there are also some terms that you may hear when an accessibility subject-matter expert, or SME, is evaluating a digital product. Accessible” “Best Practice” “Compliant” “Conformant”

Slide 19

Slide 19

“Accessible”

It is very common to hear “this is accessible” or “this is not accessible.”

It is a bit of a shortcut, and includes some assumptions, so if you hear me or another accessibility SME using this term and it’s not obvious to you what they mean, please feel free to ask for more clarification.

However, it is my experience that many designers and developers do not generally wish to use specific technical terms and the broad term is sufficient.

Slide 20

Slide 20

Conformance and compliance

Conformance and compliance are the more official terms.

when the word conformant is used, it is indicating a voluntary implementation of WCAG success criteria.

Compliant is used to indicate mandatory implementation of WCAG success criteria for legal purposes.

Slide 21

Slide 21

Best Practice

Additionally, there is the phrase “best practice”.

When we say “best practice” it’s a combination of “this is what we have learned from the feedback of users with disabilities” When we wrote the specification for the web, this is how we wanted folks to do things, and there were reasons Spec doesn’t have to just support the web for now, it has to support the web in a backwards compatible way. This means there are examples in the specification that are very much intended to support legacy code, but they are considered outdated or not best practice in modern code.

This doesn’t mean “personal preference.”

It takes a long time for specifications to change, too! New implementations have to be proposed and reviewed and tested and then nominated for acceptance. Best practice is one way to indicate that it’s the direction specification committees intend authors to implement, but it might not yet be official specification.

Slide 22

Slide 22

Updating our mental model

Moving on to our next agenda item: the meta of accessibility. Let’s talk about ways we can update our mental model.

Slide 23

Slide 23

outdated mental model

In the past, we thought things were very simple. You have a disability or you don’t.

But we have learned that this is an outdated way to think about it.

For example, did you know that most color blind users don’t consider themselves “disabled” or “having a disability”?

Slide 24

Slide 24

“I can’t see the screen”

What do you think about when someone says “I can’t see the screen”?

Slide 25

Slide 25

types of users who might not be able to see the screen

Could be blind Could be near or far sighted Could be color blind and there’s not enough contrast Could have just had eye surgery Could be outside in the bright sun

Slide 26

Slide 26

“I need captions”

What about when someone asks for captions?

Slide 27

Slide 27

the types of users who might need captions

Could be deaf Could have an ear infection Could be in a quiet place and have no headphones Could be in a noisy place and even with headphones, can’t hear very well Could be attending a talk where the speaker has an accent they are not used to

Slide 28

Slide 28

“I need keyboard shortcuts”

what about when someone needs keyboard shortcuts or wants touch capabilities?

Slide 29

Slide 29

types of users who might need keyboard shortcuts or touch capabilities

They could have RSI They could need to do things faster (parenting small children, have time constraints for work, attending lots of meetings, etc) They could be a power user Could have ADHD and muscle memory of keyboard shortcuts are super useful Maybe their mouse batteries died

Slide 30

Slide 30

outdated thinking

So going back to this outdated thinking…what’s a new way to think about this?

Slide 31

Slide 31

Updated Thinking

I think Microsoft really helped us all think about this in an improved way.

How about this: it’s a mismatched interaction. It might be situation or permanent.

But this isn’t about a single user’s health or personal situation;

Instead, let’s focus on the interaction itself; a mismatch between a user and the interface they are trying to use.

Slide 32

Slide 32

“Solve for one, extend to many”

From Microsoft’s Inclusive Design: Recognize exclusion Learn from diversity Solve for one, extend to many

Slide 33

Slide 33

State of Accessibility

What is the state of accessibility on the web?

Slide 34

Slide 34

The WebAim Million

WebAim produces an annual report on the accessibility of the top one million most-visited home pages, and evaluates those pages for conformance with the WCAG success criteria.

Here’s what they found in 2022.

  • 50,829,406 distinct accessibility errors
  • Average of 50.8 errors per page
  • 7.7% Increase in DOM elements
  • 96.8% of home pages had detectable errors

Slide 35

Slide 35

Preventable Accessibility Issues

  • Low contrast text
  • Missing alt attributes on images
  • Empty links
  • Missing form input labels
  • Empty buttons
  • Missing lang attribute on html element

Slide 36

Slide 36

We have a long road ahead of us.

Slide 37

Slide 37

Roles & Responsibilities

We all have a role to play, and it takes everyone at every part of the process to successfully make an accessible product.

Slide 38

Slide 38

“You didn’t ask for accessibility.”

We might hear people say “our clients didn’t ask for accessibility.”

Slide 39

Slide 39

I like to compare this to a baker saying, “You didn’t ask for sugar in your cookie.”

Slide 40

Slide 40

Leadership

▪ Vocalize accessibility as a priority ▪ Ensure it is included in budgets

Slide 41

Slide 41

Technical Writers

▪ Use clear language ▪ Use consistent phrasing

Slide 42

Slide 42

UX Designers

▪ Simplify the user experience ▪ Make context and purpose clear

Slide 43

Slide 43

Visual Designers

▪ Think beyond minimum color contrast requirements ▪ Plan for zoom (browser zoom, text size zoom) ▪ Make sure interactive elements are large enough ▪ Try to think in proportions, not pixels

Slide 44

Slide 44

QA Testers

▪ Navigate with the keyboard only ▪ Use tools to test for color-blindness ▪ Differentiate between visible focus and screen-reader focus ▪ Test zoom up to 200%

Slide 45

Slide 45

Engineers

▪ Use semantic HTML as much as possible ▪ Have conversations if you receive designs that aren’t accessible ▪ Explore the automated tools you have at your disposal ▪ Identify the differences - app-level a11y concerns, ds-level a11y concerns

Slide 46

Slide 46

So what's next?

Slide 47

Slide 47

Handy Browser Extensions

Handy Browser Extensions

  • Microsoft’s Accessibility Insights
  • Colorblindness Emulator
  • aXe DevTools

Slide 48

Slide 48

Design Systems

HashiCorp Design System https://go.hashi.co/design-system through which we’ll be implementing our accessibility strategy.

Slide 49

Slide 49

Recap

So let’s recap, what did we talk about? 1.Intro to WCAG 2.The Meta of Accessibility 3.State of Accessibility 4.Roles & Responsibilities 5.What’s Next?

Slide 50

Slide 50

Quote by me

You do not require permission to create accessible products. This is my quote, but I put it in all of my slides because I want us to really have this ingrained in our psyche.

Slide 51

Slide 51

Thank You

You can reach me at melanie@hashicorp.com. Thanks for watching this talk!