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

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

Behind the Design of Lauren Santo Domingo’s Ski House

Thursday, November 21, 2024

View in your browser | Update your preferences ADPro Peak Style When it comes to clients, says AD100 designer Andre Mellone, “my biggest nightmare is a person who says, 'Carte blanche, do whatever

2025 Interior Design Trends, Revealed

Wednesday, November 20, 2024

View in your browser | Update your preferences ADPro Image may contain: Furniture, Chair, Interior Design, Indoors, Home Decor, and Rug Inside Our Newest Trend Report “Design, like fashion, tries to

Want a free strategy session with us?

Wednesday, November 20, 2024

Plus, the emails editors open most often. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

One Simple Thing You Can Do to Retain Your Staff

Tuesday, November 19, 2024

View in your browser | Update your preferences ADPro By my account, it's not fall until I've watched You've Got Mail, Nora Ephron's '90s film adaptation of the 1930s Hungarian play

#483: UX Writing

Tuesday, November 19, 2024

With writing guides, content testing and practical guides for better content design. Issue #483 • Nov 19, 2024 • View in the browser Smashing Newsletter Hej Smashing Friends, Every digital product

Accessibility Weekly #423: Beautiful Focus Outlines

Monday, November 18, 2024

November 18, 2024 • Issue #423 View this issue online or browse the full issue archive. Featured: Beautiful focus outlines "Unfortunately, focus outlines are often overlooked in web design.

175 / Build your ideas without writing any code

Monday, November 18, 2024

Product Disrupt Logo Product Disrupt Half-Monthly Nov 2024 • Part 1 View in browser Welcome to Issue 175 One month ago, I quit my longest-standing job and embarked on a pathless path to let my

Into the Fediverse

Sunday, November 17, 2024

Issue 221: We need decentralized social networks ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The Books AD Editors Can’t Put Down Right Now

Friday, November 15, 2024

View in your browser | Update your preferences ADPro Good Reads Here at AD PRO, we're all about celebrating a good coffee table book. With crisp project imagery and behind-the-scenes stories tucked

What astrology has to do with PR?

Wednesday, November 13, 2024

and, no we won't tell you to read your chart! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏