🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨🚨 🚨 60,909,278

edit text blank Accessibility, Inputs & JavaScript tournant I think we need to talk about accessibility more broadly Oscar, he/him Tournant

https://r.ovl.design/jsvidcon Slides, Resources & Co. Twitter: @_ovlb

Babelfish

WAI W3C Web Accessibility Initiative https://www.w3.org/WAI/ Group of authors in W3C working improving accessibility in websites

ARIA Accessible Rich Internet Applications https://www.w3.org/WAI/standards-guidelines/aria/ A Specification «These semantics are designed to allow an author to properly convey user interface behaviors and structural information to assistive technologies in document-level markup.»

«WAI-ARIA provides a collection of accessibility states and properties […].» ARIA https://www.w3.org/TR/wai-aria/#usage which are used to support platform accessibility APIs on various operating system platforms Markup static, ARIA allows developers to change things dynamically. Hence the rich

WCAG Web Content Accessibility Guidelines https://www.w3.org/WAI/standards-guidelines/wcag/ Define Success Criteria Show Techniques

A11Y Shorthand for accessibility Eleven letters between a and y Term itself is not undisputed in the accessibility community

«The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.» Tim Berners-Lee, 1997 https://www.w3.org/Press/IPO-announce When the W3C launched the Web Accessibility Initiative

«98.1% of home pages had detectable WCAG 2 failures!» The WebAIM Million – WCAG CONFORMANCE https://webaim.org/projects/million/ Accessibility is a topic incredibly hard to test automatically WCAG conformant sites probably under 1 %

🤦 What happened?

Neglect

These are very basic things Mostly easy to fix Alt text for large publications requires a team effort, especially if it is missing for a long time

2019 survey

🙈 24% of organisations think they are WCAG compliant Web Key IT

👨👨👨👨👨👨👨👨👨👨 Mostly white, male and able-bodied

It’s not us. It’s society. But also us. We are privileged We are responsible for what we do with it

«Privilege is not my fault. But it is my responsibility.» Tatiana Mac https://www.youtube.com/watch?v=Hzs_8e3Xhhc

Complexity Over time websites have evolved from a medium to exchange scientific papers to one in which you can do basically anything These are the things that are – more often than not – not easy to fix

🚀

Accessibility is no rocket science. Some things are hard, yes. But let’s get the basics right.

WE NEED TO ACT. If we don’t want to look like a bunch of overpaid bollocks. Get people involved in web dev Listen to those who speak up

Making the Web Accessible

COLLABORATION On your own, understanding the ARIA and WCAG pages can be daunting

«The only way this work gets done is if we start small, and if we work together.» Ethan Marcotte – The web we broke https://ethanmarcotte.com/wrote/the-web-we-broke/ He asked the question «What’s one thing I wish I understood better about accessibility?»

USE SEMANTIC MARKUP. And ARIA where applicable. The first rule of ARIA is «Do not use ARIA» e.g. buttons «ARIA, the language created to help make interfaces more accessible, was found on more than sixty percent of the home pages surveyed. Unfortunately, those home pages were more likely to have detectable accessibility errors.» Ethan Marcotte citing from AIM 1 million

USE ASSISTIVE TECHNOLOGY. Start small, by clicking around and listen to the SR output Start navigating around with your keyboard Close your eyes

ASK USERS. They are the experts. Nothing about us without us Be humble We are not able to say what works, e.g. steep wheelchair ramp

PUT ACCESSIBILITY IN THE DEFINITION OF DONE … and be it your own. That means things you are going to do. It’s impossible to just make a whole existing site accessible. Try to get the people you are reporting aboard and agree

Accessible Inputs Why talk about this?

https://playground.owlish.dev/inclusive-inputs/

«56% of the 3.4 million form inputs identified were unlabeled (either via <label>, aria-label, or aria-labelledby), down from 59% in 2019.» The WebAIM Million – Form Labeling https://webaim.org/projects/million/#labels «Pages with at least one unlabeled form control averaged 43 more detectable errors than pages without any label errors.» 30 in 2019 Past interfaces I built are full of errors, present ones probably too

Structure taken from an online course Not everything is just divs

LABELING

Dragon natural speaking, talkback and VoiceOver don’t support implicit labels in Voice Control mode

Very little has changed

aria-label

Two circling hearts, button

DON’T MAKE YOUR USERS GUESS. Unless you write the crosswords for the New York Times.

ACCESSIBLE ICON BUTTONS https://www.sarasoueidan.com/blog/accessible-icon-buttons/

MARKING REQUIRED FIELDS

aria-hidden Hide an element from Assistive Technology

HIDING ELEMENTS FROM SCREEN READERS USING aria-hidden https://www.accessibility-developer-guide.com/examples/sensible-aria-usage/hidden/

Source: Scott O’Hara – Inclusively Hidden https://www.scottohara.me/blog/2017/04/14/inclusively-hidden.html

REQUIRED ATTRIBUTE REQUIREMENTS https://developer.paciellogroup.com/blog/2019/02/requiredattribute-requirements/

DESCRIBING FIELDS

And with this problem we leave the realm of native HTML

aria-describedby Describe an element using the text content of another aria-describedby, provides the means to associate an element with the text of another object, or objects, in the document. When properly used, this attribute can provide the necessary information to assist in creating inclusive user experiences.»

DESCRIBING aria-describedby https://developer.paciellogroup.com/blog/2018/09/describing-aria-describedby/ Scott O’Hara

Expanding the Toolbox 🧰

«The only way this work gets done is if we start small, and if we work together.» Ethan Marcotte – The web we broke https://ethanmarcotte.com/wrote/the-web-we-broke/

https://www.ovl.design/text/inclusive-inputs/

Install all you problems away

https://r.ovl.design/jsvidcon Slides, Resources & Co. Twitter: @_ovlb

#LeaveNoOneBehind https://www.flickr.com/photos/acampadabcnfoto/39943411872/

Unbreak the web. tournant https://ui.tournant.dev @tournantdev ♡