Smashing Magazine - #336: Front-End Accessibility

With tips and advice from the community on improving accessibility by creating accessible and inclusive content and debunking accessibility myths together. Issue #336 January 18, 2022 View in the browser 💨

Smashing Newsletter

Comment ça va Smashing Friends,

With so many variables involved when building for the web, it’s difficult to get everything just right every single time. Luckily there are plenty of resources that will highlight some of our oversights? Good examples of it are remarkable front-end accessibility tools and resources.

A while ago, we created (and still maintain) a complete guide to accessible front-end components which features plenty of solid implementations out of the box. On top of it, we could run accessibility tests with @axe-core/react, eslint-jsx-a11y or eslint-vuejs-accessibility.

You can find many more accessibility tools in another round-up Nic Chan has written earlier.

It doesn’t stop there though. In this issue, we want to highlight some tools and resources just around that — accessibility extensions, plugins, books, courses and useful resources. We hope you’ll find them useful.

Topple gracefull skating on ice holding a laptop in its right paw while its friend Birdie joins him in the falling snow

Quick reminder from our side: we have new upcoming online workshops on accessibility, frontend, HTML email, design systems and UX coming up soon — with a few early birds still available. The next one by Carie Fisher is coming up this Thursday, with 5 interactive, live sessions on accessible front-end patterns. Jump to all workshops.

Topple in Star Trek mode

And, of course, please don’t forget to join the next free Smashing Hour with Sara Soueidan (happening this Thursday!) and our next Smashing Meets with Laura Kalbag and Trine Falbe on February 9, 2022. We’d love to see you there!

Without further ado, let’s dive into front-end accessibility!

— Vitaly (@smashingmag)


1. Accessibility Myths Debunked

There are quite a lot of myths revolving around accessibility. For example, that accessibility only affects a small group of users or that making a website accessible is costly and time-consuming. To debunk myths like these and show that accessibility isn’t as daunting as it might seem at first, Sergei Kriger created Accessibility Myths.

Accessibility Myths

The site lists 22 common accessibility myths and gives reasons why the assumptions aren’t correct or why it’s worth to reconsider your point of view — in a few concise words. If you want to learn more, further reading resources are also included. By the way, if your manager is still hesitant about accessibility, the site might convince them to see accessibility in a different light. (cm)


2. VS Code Extensions To Improve Accessibility

A powerful duo to help you fix accessibility bugs as you’re coding are the VS Code extensions webhint and Error Lens. webhint combines best practices and suggestions from sources such as axe-core and MDN into one single tool, giving you real-time feedback on cross-browser compatibility, accessibility, performance, and security as you write your code. Error Lens inlines the feedback with your code. If you want to learn more about using both extensions in combination, Rachel Simone Weil shares more details.

VS Code extensions

Another handy VS Code extension that helps you write more accessible code comes from Max van der Schee: Web Accessibility. Once installed, it gives you feedback on what parts need your attention in order to be accessible. It highlights elements that you should consider changing and gives a hint on how to improve them.

Another extension worth adding to your accessibility toolkit is axe Accessibility Linter by Deque Systems. It checks your React, Vue, Angular, HTML, and Markdown files to help you avoid common accessibility defects. (cm)


From our sponsor

Build In-Demand Skills In Northwestern’s Online MS In Information Design And Strategy

Work at the Intersection of Data, Design and Technology. Earn your master’s degree online at Northwestern Information Design and Strategy.
Earn your master’s degree online.


3. Developer-Friendly Accessible Color Palettes

Colors are a part of your brand’s identity and are instantly recognizable as such — a fact that makes the task of adjusting a color palette a few years after you first implemented it quite daunting. The team at Doctolib was confronted with just that challenge. As it turned out, the corporate blue which they had used since the birth of the product back in 2013 was causing contrast issues.

Adaptive, accessible and automated colour for Design Systems

If you find yourself in a similar situation and need a bit of encouragement to tackle the challenge, Jérôme Benoit shares some valuable insights into how he and his team enhanced their color palette to achieve AA compliance. A great side effect: The overhaul also removed clutter and legacy issues that had piled up over the years.

More fantastic tips for accessible color palettes come from Lucas Zhang. He and his team at Société Générale created an adaptive, accessible, and automated color system based on four base colors. They spent several months creating variable color attributes for each of the four colors that adjust color tone and lightness depending on the immediate background color to preserve readability and recognizability.

To prevent any hassle that could arise when working with too many color variations, they came up with an automated system that automatically adjusts the element’s color based on background color, font size, and other factors. All of this gets by without any JavaScript, the solution relies entirely on SCSS. Inspiring! (cm)


4. Upcoming Front-End & UX Workshops

You might have heard it: we run online workshops around frontend and design, be it accessibility, performance, navigation, or landing pages. 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
Frontend and design can sometimes feel like you’re riding some pretty wild waves! We’ve got your back with personal and inclusive events.

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


5. Accessibility In Vue And React

JavaScript frameworks have a reputation for poor accessibility. But this doesn’t mean you can’t build accessible sites and apps with Vue, React, and Angular. As Web Accessibility Specialist Marcus Herrmann points out, the frameworks’ strengths like component-based architecture, statefulness, and related tooling also benefit accessibility. In his eBook Accessible Vue (also available as a free web version), he explains how.

Web Accessibility in React

If you’re using React, Irek Róg and Stanislav Naborshchikov wrote a practical article that helps you ensure that all your users get equal access to your application. Based on a real-life example, they take you step by step through the process of improving accessibility for keyboard and screen reader users, explaining in detail what you need to pay attention to. (cm)


6. Accessibility Courses And Workshops

Do you want to dive deeper into accessibility but you don’t know where to begin? How about an accessibility course? For beginners, Microsoft has a free course on accessibility fundamentals. It is 2.5 hours long and consists of four modules that introduce you to accessibility concepts and cover how to create accessible and inclusive content for mobile apps and the web.

Accessibility Workshops

If you’re looking for something more comprehensive that is also suitable for experts, Deque offers different accessibility courses for all skill levels and professions — developers, designers, content creators, and everything in between.

Fable Upskill’s video-based courses are designed specifically for your team and also targeted at different roles. To gain a first-hand look at accessibility, Fable’s training also involves people with disabilities who are uniquely qualified to teach about accessibility through their lived experience.

Last but not least, it’s also worth keeping an eye on Sara Soueidan’s upcoming accessibility course on everything from WCAG and ARIA to writing semantic HTML, accessibly styling CSS, and adding interactivity with JavaScript. Marcy Sutton is also working on a series of accessibility workshops which are about to launch early this year and that will look at accessibility from different perspectives. By the way, shameless plug, we’ll be hosting an accessibility online workshop later this week, too: the Accessible Front-End Patterns Masterclass with Carie Fisher. Happy learning! (cm)


7. Accessible Names For Interactive Controls

Challenging our own biases and assumptions is crucial when we want to create inclusive experiences. Take the phrase “Click the button below”, for example. It’s a common phrase that we see often on the web. However, if you look more closely, it could be confusing for people who use the web differently.

The endless search for ‘here’ in the unhelpful ‘click here’ button

Eric Bailey’s article “The endless search for ‘here’ in the unhelpful ‘click here’ button” raises awareness for the fact that there is a lot of nuance behind even the simplest-seeming words. Eric dissects phrases like “Click the button below” and shows why they could turn into accessibility pitfalls.

Apart from tips for constructing meaningful, accessible names for interactive controls, he also shines a light on two aspects that we all should keep in mind when building for the web — not only when naming interactive controls: First, think about your audience in terms of digital literacy. And second, use language that will hold up in different consumption contexts. (cm)


8. Design Trends From An Accessibility Perspective

At the beginning of the year, you’ll often come across articles predicting the newest website trends. However, as innovative as some of these trends are, some of them could turn out to be problematic for accessibility. Meg Miller decided to dig deeper and compiled a list of fifteen common web design trends which she reviewed last year based on their accessibility.

Fifteen Design Trends from an Accessibility Perspective

The trends that Meg examined revolve around color and typeface aesthetic, layout and organization, graphics, animation, and audiovisual. As it turns out, it is very difficult to label any of them “accessible” or “not accessible”. Often, their accessibility is subjective or completely depends on how they were developed. A great reminder of what accessibility is all about: The users who come to our sites come from an infinite variety of situations that need to be considered — some of them might juggle kids and a phone, others might have a broken arm, some might be blind, autistic, or depressed, others in a hurry and some just had too much to drink. As Meg puts it: “At the end of the day, they are the client. (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

#335: New CSS Adventures

Tuesday, January 11, 2022

With hand-picked CSS guides, inspiring talks, cross-browser tools and the latest CSS practices to dive into in 2022. Issue #335 • January 11, 2022 • View in the browser 💨 Smashing Newsletter Dear

#334: Getting Ready for 2022

Tuesday, January 4, 2022

With podcasts, mentorship, inspirational websites and self-reflecting yourself as the new year begins... Issue #334 • January 4, 2022 • View in the browser 💨 Smashing Newsletter Dear Smashing Friends,

#333: Boosting Productivity in 2022

Tuesday, December 28, 2021

With advice on how to makie better estimates, achieving more productive meetings and useful checklists for a successful 2022! Issue #333 • December 28, 2021 • View in the browser 💨 Smashing Newsletter

#332: Enterprise UX

Tuesday, December 21, 2021

With tips and tricks on improving usability while designing better dashboards, tables and UI design elements. Issue #332 • December 21, 2021 • View in the browser 💨 Smashing Newsletter Dear Smashing

#331: Goodies and Trends 2022

Tuesday, December 14, 2021

With trends in 2022, open source mobile wireframing kit, tools and resources for web fonts and a bunch of lovely Christmas goodies. Issue #331 • December 14, 2021 • View in the browser 💨 Smashing

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