Smashing Magazine - #379: Web Accessibility

With focus styles, WCAG 2.2, accessible PDFs, accessible color palettes and how to document and test accessibility. Issue #379 November 15, 2022 View in the browser 💨

Smashing Newsletter

Hello Smashing Friends,

After all these years, web accessibility still feels like an ongoing battle. In this newsletter, we highlight some of the strategies to document and test accessibility, fix PDF accessibility issues, generate accessible color palettes and improve names of sections on a page.

SmashingConf 2023
Just announced: our practical, friendly SmashingConfs 2023.

Accessibility will also be a main topic of our just announced in-person conferences in 2023: SmashingConf Front-End @ SF 🇺🇸 and SmashingConf Web @ Freiburg 🇩🇪 — very practical and friendly conferences for front-end developers and designers. With plenty of actionable insights, wonderful people and fun! Early-bird-tickets are now on sale.

The newsletter is kindly powered by our dear friends at Deque who created a powerful free accessibility testing extension for Chrome, axe DevTools. Build a more accessible website today.

Thank you, dear friends, and off we go into the world of testing, documenting and applying web accessibility!

Vitaly (@vitalyf)


1. Accessible Color Styles

Neon Carrot and Purple Heart. Robin Egg Blue and Mahogony. Laser Lemon and Black. These are just a few of the accessible color combinations you’ll find on Randoma11y. The site provides you with random accessible color combinations that are bold and anything but boring.

Randoma11y

To generate a color combination, click on a color, and the tool will find an accessible match for it. To give you a better feel for what the color combo will look like in an actual project, it is instantly applied to a sample layout consisting of text and UI components like buttons and form fields. Randoma11y also shows you the color contrast and level of WCAG compliance for the pair.

Another useful tool for ensuring your color combinations are accessible is Leonardo. It helps you create, manage, and share accessible color systems for user interface design and data visualization. Color swatches are generated by target contrast ratio, so you no longer need to check contrast manually. (cm)


2. Getting Focus Styles Right

Halloween is already over, but there’s a kind of horror that you’ll come across on the web no matter the season: accessibility of the keyboard interaction that doesn’t behave as you expect it. What might be just a small frustration if you can revert to a mouse makes interfaces completely inaccessible for people who rely on the keyboard. Rémi Parmentier’s keyboard navigation horror game Hocus :focus tricks us around common keyboard accessibility mistakes. A fun way to raise awareness for the topic.

Hocus focus

Are you ready to dive a bit deeper into focus styles? If you’d like to get inspired by focus styles, Zell Liew has great examples to explore. Nic Chan has published valuable tips on focus styles. Eric Bailey has a fantastic talk on :focus and how to design it. And last but not least, Lari Maza summarized fun custom focus styles as well. (cm)


3. Testing Accessibility

Your feature passed the unit tests and QA says it’s good to go. But is it? To really be sure, Stephanie Eckles shares four types of accessibility tests you can incorporate into your workflow right from the beginning of feature development.

4 Required Tests Before Shipping New Features

The tests cover topics that can quickly become accessibility pitfalls: color contrast, keyboard interaction, visible focus, and zoom levels. By taking care of them already when you start working on a new feature, you’ll avoid those nerve-racking last-minute fixes before shipping it. (cm)


4. Upcoming Online Workshops

That’s right! We run online workshops on front-end and design, be it accessibility, performance, or design patterns. In fact, we have a couple of workshops coming up soon, and we thought that, you know, you might want to join in as well.

Smashing Online Events
With online workshops, we aim to give you the same experience and access to experts as in an in-person workshop from wherever you are.

As always, here’s an overview of our upcoming workshops:


5. Accessible PDFs

Have you ever considered if the PDFs you’re providing to your clients, customers, or users are accessible? No worries, Deborah Edwards-Oñoro summarized what you need to know about creating accessible PDFs with Microsoft Word and Google Docs.

What to Know About Accessible PDFs From Microsoft Word and Google Docs

As Deborah summarizes, the first thing it takes to create accessible PDFs is to make sure the source document is accessible. Using a descriptive document title, adding document language, alternative text for images, descriptive links, and valid table structure are the first step.

Additionally, PDF tags provide structured representation of the content to make it easier to understand the document — for everyone, no matter if they are using assistive technology or not. Small details that make a difference. (cm)


6. Documenting Accessibility

Unfortunately, accessibility is still an afterthought in many projects, even though fixing it later is usually a lot more expensive than doing it right from the beginning. Documentation is an effective means to help teams keep an eye on accessibility in every step of the process. But what do you need to consider?

A Designer’s Guide to Documenting Accessibility & User Interactions

Stéphanie Walter summarized how designers can document different aspects of accessibility and user interaction requirements. If you don’t have the time to document everything in your design mockups, Stéphanie suggests to focus on the things where there might be the biggest issues and misunderstandings.

Another fantastic resource to push accessibility forward are the five illustrations that Stéphanie created to illustrate metaphors around accessibility and designing for disabled people. From the rainbow of disabled people’s needs to the A, AA, and AAA mountain peaks to reach, the illustrations help start the conversation about accessibility. (cm)


From our sponsor

Start Accessibility Testing In Just Minutes With axe DevTools

Start Accessibility Testing In Just Minutes With axe DevTools
Today’s newsletter is kindly powered by our dear friends at Deque who have created the powerful and free accessibility testing browser extension, axe DevTools. Run a quick test any time you want, get instant results with detailed information on your web accessibility issues and how to easily fix them. Build a more accessible website today with axe DevTools for Chrome.


7. Better Accessible Names

An accessible name is used by assistive technologies to refer to things on a web page. Voice control users could say “Open navigation” to open navigation or “Save document” to save changes, for example. Equally, the name gets read out when screen reader users get to the control. Hidde de Vries summarized what you need to watch out for to make the actual names effective and useful.

Better accessible names

The tips all come from the ARIA Authoring Practices Guide, and Hidde added context and examples to illustrate them. You don’t need to use ARIA to provide names, though. Text content in the appropriate HTML elements like <label>, <legend>, <caption>, <button>, and <a> works perfectly fine, too, as Hidde explains. (cm)


8. Making Sense Of WAI-ARIA

Whether it’s submitting a job application, purchasing from an online store, or booking a healthcare appointment, interactions on the web are often inaccessible for people who use assistive technology. WAI-ARIA helps us do better.

Making Sense Of WAI-ARIA: A Comprehensive Guide

If you haven’t gotten around to wrapping your head around ARIA yet, Kate Kalcevich wrote a comprehensive guide to demystify ARIA because, as it turns out, it is one of the things she sees developers misusing the most. The guide dives deep into ARIA roles, states, properties, and focus management, exploring common mistakes and how to avoid them. A great basis to prepare for those accessibility challenges that come your way. (cm)


9. New On Smashing Job Board


10. Recent Smashing Articles


That’s All, Folks!

Thank you so much for reading and for your support in helping us keep the web dev and design community strong with our newsletter. See you next time!


This newsletter issue was written and edited by Cosima Mielke (cm), Vitaly Friedman (vf) and Iris Lješnjanin (il).


Sent to truly smashing readers via Mailchimp.
We sincerely appreciate your kind support. You
rock.

Follow us on Twitter Join us on Facebook

unsubscribe update preferences view in your browser

Key phrases

Older messages

#378: Interface Design

Tuesday, November 8, 2022

With drag'n'drop UX, blend modes, design principles, forced colors and useful Figma plugins. Issue #378• November 8, 2022 • View in the browser 💨 Smashing Newsletter Hyvää päivää Smashing

#377: UX Writing

Tuesday, November 1, 2022

With UX writing guidelines, tools, library, inspiration and better error messages. Issue #377• November 1, 2022 • View in the browser 💨 Smashing Newsletter Howdy Smashing Friends, Words matter. They

#376: Design Systems

Tuesday, October 25, 2022

With accessible design systems, Figma kits and real-life examples. Issue #376 • October 25, 2022 • View in the browser 💨 Smashing Newsletter Dobryi vechir Smashing Friends, There is a moment in time

Meet “Understanding Privacy”, a new Smashing Book

Thursday, October 20, 2022

Meet “Understanding Privacy”, our new book on privacy, by Heather Burns. What privacy really is, beyond scary headlines. Understanding Privacy • View in the browser 💨 Understanding Privacy by Heather

#375: UX Workflow

Tuesday, October 18, 2022

With guidelines for design critique, design workshops, product design interview process, UX sketches and UX patterns. Issue #375• October 18, 2022 • View in the browser 💨 Smashing Newsletter Góðan

You Might Also Like

9 Trends From Milan We Can’t Stop Thinking About

Thursday, April 25, 2024

View in your browser | Update your preferences ADPro Even More From Milan Design Week Each year, the design world convenes in Milan—and that applies to us at AD, too. For the third year running, our

Subframe, Attributes vs Properties, Front End Handbook, aspect-ratio, GenAI

Thursday, April 25, 2024

The 5 best design links, every day. Curated by a selection of great editors. Email not displaying properly? View browser version. Sidebar April 25 2024 Subframe subframe.com Subframe is a design-to-

Ritmo, Climate Change, Icons & Typefaces, Click Wheel JS, CarPlay

Wednesday, April 24, 2024

The 5 best design links, every day. Curated by a selection of great editors. Email not displaying properly? View browser version. Sidebar April 24 2024 Meet Ritmo, Musixmatch's cross-platform

Why Jake Arnold Doesn’t Text Clients

Tuesday, April 23, 2024

View in your browser | Update your preferences We've had a remodel! From now on, you'll be hearing from AD PRO in your inbox twice a week—once with a deep dive into trends to watch and subjects

The secret ingredient to media success

Tuesday, April 23, 2024

PR tips from our founder Nora Wolf In this month's edition is all about *the most important* element of successful media outreach—photography. You may have some photos, but if the backgrounds are

#453: Design Systems

Tuesday, April 23, 2024

Design system generator, types of design systems and how to consolidate design systems. Issue #453 • Apr 23, 2024 • View in the browser Smashing Newsletter Buổi tối vui vẻ Smashing Friends, Ah, design

👨‍🏫 Striking Educational Website Designs + 🏆 Challenge Updates

Tuesday, April 23, 2024

Your UpLabs Design Updates Await! Let's Get Going! 🎨 Firstly, let's congratulate Mariana Gameiro, the winner of our latest 👩‍💻 SheCodes Website Redesign Challenge! Congratulations!! Secondly,

Code Connect, JS Naked Day, Shape of AI, Product Design, CSS Grid Level 3

Tuesday, April 23, 2024

The 5 best design links, every day. Curated by a selection of great editors. Email not displaying properly? View browser version. Sidebar April 23 2024 The Right Code for Your Design System figma.com

Accessibility Weekly #393: When Security and Accessibility Clash

Monday, April 22, 2024

April 22, 2024 • Issue #393 View this issue online or browse the full issue archive. Featured: When security and accessibility clash: Why are banking applications so inaccessible? "While using

Bézier Curves, CSS Motion Extraction, CSS Testing, CSS Theming, Women Who Code

Monday, April 22, 2024

The 5 best design links, every day. Curated by a selection of great editors. Email not displaying properly? View browser version. Sidebar April 22 2024 Flattening Bézier Curves and Arcs minus-ze.ro