Demystifying Web Accessibility

Rate this content
Bookmark

Accessibility is a decisive tool to make the internet a more inclusive place, it is absolutely crucial and despite the popular belief that only a small user group is affected, it benefits every single one of us. After a brief introduction, we will dive into practical tools to create more accessible websites and test for the most common web accessibility issues. Let's make the web more inclusive, one page at a time!

This talk has been presented at Remix Conf Europe 2022, check out the latest edition of this React Conference.

FAQ

Web accessibility means that tools, technologies, and websites are designed and implemented so that people with disabilities can use them and participate equally on the web. It is also recognized as a basic human right by the United Nations.

Web accessibility is important because over 15% of the global population experiences some form of disability during their lives. It ensures that everyone, including people with disabilities, can access and use websites. Additionally, it benefits people without disabilities who may face temporary or situational impairments.

Web accessibility benefits people with various disabilities including physical, auditory, cognitive, neurological, speech, and visual impairments. It also helps people without disabilities, such as those using mobile devices, remote controls, or facing temporary disabilities like a broken arm. Situational impairments, like slow internet connections, also benefit from web accessibility.

Common web accessibility issues include insufficient color contrast, non-unique ID attribute values, and lack of support for different input methods (e.g., keyboard navigation). Other issues include poor tab order and lack of focus styles for interactive elements.

Tools such as the ex-DEV tools and web disability simulators can help with web accessibility audits. These tools can identify issues like color contrast and unique ID attributes, and simulate how users with disabilities experience the website.

Color contrast can be checked using tools like color contrast checkers. These tools help ensure that the contrast between background and foreground colors meets accessibility standards, such as the AA level, which requires a contrast ratio of 4.5 to 1.

Semantic HTML is important for web accessibility because it provides inherent functionality that assists technologies like screen readers. It helps ensure that users can navigate a website using different input methods, such as keyboards.

A focus style is a visual indicator that shows which element is currently selected when navigating a website using a keyboard. It is important because it helps users know where they are on the page, ensuring they can interact with the website effectively.

Tab order is the sequence in which interactive elements on a webpage are navigated using the keyboard. It matters because a logical tab order ensures that users can navigate the site easily and intuitively, following the natural reading order of the page.

You can learn more about web accessibility tools by checking the provided QR code in the presentation, which links to the tools and extensions discussed. You can also connect with the speaker, Josephine, on social media or via email for further discussion.

Josefine Schaefer
Josefine Schaefer
11 min
18 Nov, 2022

Comments

Sign in or register to post your comment.
  • Kerim
    Kerim
    This was very valuable. I learned a lot. Thank you!
Video Summary and Transcription
Web accessibility ensures that people with disabilities can use and participate equally on the web. Over 15% of the global population has some form of disability. Improving web accessibility can be done using tools like ex-DEV tools and the web disability simulator. Color contrast plays a crucial role in readability, and semantic HTML and tab order help with functionality and user flow. There are additional tools and extensions available for further exploration.

1. Introduction to Web Accessibility

Short description:

Hi, everybody, thanks for joining my talk. My name is Josephine, my pronouns are she, her, and in the next couple of minutes, I will be talking about web accessibility and ways in which you can get started with it. Web accessibility means that the tools, technologies and websites that we build are designed and implemented in a way so that people with disabilities can use them and participate equally on the web. Over 15% of the entire global population are experiencing some form of disability over the course of their life. Different user groups benefit from web accessibility, including people with disabilities and those without disabilities in various situations. To get started with improving web accessibility, you can use general tools like ex-DEV tools for an accessibility audit and the web disability simulator to experience your page from the perspective of different user groups.

Hi, everybody, thanks for joining my talk. My name is Josephine, my pronouns are she, her, and in the next couple of minutes, I will be talking about web accessibility and ways in which you can get started with it.

So let's dive right in. What is web accessibility? Web accessibility means that the tools, technologies and websites that we build are designed and implemented in a way so that people with disabilities can use them and participate equally on the web. It's also a basic human right as defined by United Nations.

And now if that's not enough for you and you're still wondering whether web accessibility is something for you or the people you want to use your website, there was a report by the World Health Organization and they found that over 15% of the entire global population are experiencing some form of disability over the course of their life. And of course, global data is hard to measure and the experience of disability as well. But even if it's just the ballpark, in my opinion, that's a super powerful one. And I'm really hoping that if you're coming at this maybe from a business perspective, that the sheer number of people that are affected is going to convince you that this is relevant also for you. Also, we're all growing older, and so this is going to even get larger in the long run, right?

All right. So here on this slide, there are a couple of the different user groups that maybe benefit from web accessibility, and so we see here different kinds of disabilities or impairments like physical, auditory, cognitive, neurological, speech, or visual disability. But we also see people without disabilities, so people maybe using a smaller device like a mobile phone, or maybe you're using your remote control to put in your favorite show on the TV. We also have temporary disabilities like maybe a broken arm or situational ones, maybe a new parent holding a baby, or if you have a slower internet connection, and maybe the images are not loading, you're going to rely on web accessibility and get some alternative texts, for example. So a lot of situations in which web accessibility is super beneficial, and in practice, that can look like many different things, right? So it can mean having enough color contrast to be able that everything is actually visible on the page, being open to different input methods, not only the mouse and the track pad, but maybe also a keyboard or assistive technology, using semantic HTML to provide enough context for assistive technology like screen readers, but also for your browser, or things like explaining unfamiliar terms, being open to the fact that not everybody has the same ground knowledge and that we have to adhere to these different standards or backgrounds, right?

But what does that mean? Where can we start? Now that I have convinced you, hopefully, that this is important for all of us, how could you get started? And I'm actually gonna switch over to the browser for this. This Storyblock, the company I work for, we're headless CMS. But that's not the point. The point is that we're currently doing an accessibility audit. And one of the things I did on our own homepage, for example, this is actually quite big, so I'm gonna make it a bit smaller, was, for example, to run one of these general tools. There are, for example, the ex-DEV tools. I'm just gonna open this up, scan the entire page, and it's gonna find a lot of issues. So now 30 seems like a lot. It doesn't mean that there's everything broken on this page, but it's gonna walk us through what exactly is wrong here, right? So we have an element must have sufficient color contrast. I already mentioned color contrast, and in a minute we're gonna see how you could test for that. ID attribute values must be unique. And like this, step by step it's going to walk you through all the things that can be improved, and that you will need to have a look at in order to improve accessibility on your page, right? And this is a really good, so if I open this app, it'll provide you with more information, you can share it, you can identify it in the code. So this is really helpful for first overall look. Of course it's not gonna find all the issues, you will have to test them also manually, but it's a good starting point for sure. So I'm gonna close this app, and I'm gonna open up the next tool, which is the web disability simulator. So this enables you to experience what maybe different user groups experience your page as, right? And now I'm gonna select here Total Colorblindness, for example, and it's gonna show me what people with colorblindness maybe experience our web site as. I can also learn more or reset and pick something else like red-green colorblindness for example, that's gonna look completely different, but everything kind of still looks visible, right? It's a good starting point.

2. Color Contrast and Accessibility Levels

Short description:

If you switch to a bright background like sunshine, you'll need more contrast to ensure readability. The color contrast checker tool can help you with this. It allows you to choose background and foreground colors and provides accessibility levels for compliance. Aim for a color contrast ratio of 4.5 to 1 to comply with AA standards. Darker colors against white tend to provide better visibility for people with visual impairments.

Now if I switch here over to sunshine, you see we're gonna need a lot more contrast to be able to read what it says, for example, on the button here and it's really difficult to say, I think here is something written but I can't really tell. So this already shows you there's lots of different use cases for web accessibility, right? I mean, this is really rough but it's a good starting point for sure.

And now if you want to get into a bit more detail on the color contrast, I have another tool for us. It's the color contrast checker. There are many different ones out there. This is just the one that I like best and this is going to help you. You can pick a background color. I'm just gonna pick maybe this turquoise and you can pick a foreground color, white, and we see here we're actually failing different levels. So these are different levels of accessibility that you can choose to comply with. AA is usually the most common one that people try to comply with. And to comply with AA we need a color contrast of 4.5 to 1. Meaning that the background and the foreground are different enough to have a good ratio there. And with the turquoise against the one against the white, we are failing that. This is something to look into. And now if we were to check here just for comparison, we see this really dark bluish color against the white writing gives us a really good score, and we're passing all the different levels. So this is kind of where you want to aim at. Something that you can also read with maybe bright sunshine or people with visual impairments.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

Building Better Websites with Remix
React Summit Remote Edition 2021React Summit Remote Edition 2021
33 min
Building Better Websites with Remix
Top Content
Remix is a web framework built on React Router that focuses on web fundamentals, accessibility, performance, and flexibility. It delivers real HTML and SEO benefits, and allows for automatic updating of meta tags and styles. It provides features like login functionality, session management, and error handling. Remix is a server-rendered framework that can enhance sites with JavaScript but doesn't require it for basic functionality. It aims to create quality HTML-driven documents and is flexible for use with different web technologies and stacks.
Don't Solve Problems, Eliminate Them
React Advanced 2021React Advanced 2021
39 min
Don't Solve Problems, Eliminate Them
Top Content
Kent C. Dodds discusses the concept of problem elimination rather than just problem-solving. He introduces the idea of a problem tree and the importance of avoiding creating solutions prematurely. Kent uses examples like Tesla's electric engine and Remix framework to illustrate the benefits of problem elimination. He emphasizes the value of trade-offs and taking the easier path, as well as the need to constantly re-evaluate and change approaches to eliminate problems.
Scaling Up with Remix and Micro Frontends
Remix Conf Europe 2022Remix Conf Europe 2022
23 min
Scaling Up with Remix and Micro Frontends
Top Content
This talk discusses the usage of Microfrontends in Remix and introduces the Tiny Frontend library. Kazoo, a used car buying platform, follows a domain-driven design approach and encountered issues with granular slicing. Tiny Frontend aims to solve the slicing problem and promotes type safety and compatibility of shared dependencies. The speaker demonstrates how Tiny Frontend works with server-side rendering and how Remix can consume and update components without redeploying the app. The talk also explores the usage of micro frontends and the future support for Webpack Module Federation in Remix.
Full Stack Components
Remix Conf Europe 2022Remix Conf Europe 2022
37 min
Full Stack Components
Top Content
RemixConf EU discussed full stack components and their benefits, such as marrying the backend and UI in the same file. The talk demonstrated the implementation of a combo box with search functionality using Remix and the Downshift library. It also highlighted the ease of creating resource routes in Remix and the importance of code organization and maintainability in full stack components. The speaker expressed gratitude towards the audience and discussed the future of Remix, including its acquisition by Shopify and the potential for collaboration with Hydrogen.
Debugging JS
React Summit 2023React Summit 2023
24 min
Debugging JS
Top Content
Watch video: Debugging JS
Debugging JavaScript is a crucial skill that is often overlooked in the industry. It is important to understand the problem, reproduce the issue, and identify the root cause. Having a variety of debugging tools and techniques, such as console methods and graphical debuggers, is beneficial. Replay is a time-traveling debugger for JavaScript that allows users to record and inspect bugs. It works with Redux, plain React, and even minified code with the help of source maps.
Making JavaScript on WebAssembly Fast
JSNation Live 2021JSNation Live 2021
29 min
Making JavaScript on WebAssembly Fast
Top Content
WebAssembly enables optimizing JavaScript performance for different environments by deploying the JavaScript engine as a portable WebAssembly module. By making JavaScript on WebAssembly fast, instances can be created for each request, reducing latency and security risks. Initialization and runtime phases can be improved with tools like Wiser and snapshotting, resulting in faster startup times. Optimizing JavaScript performance in WebAssembly can be achieved through techniques like ahead-of-time compilation and inline caching. WebAssembly usage is growing outside the web, offering benefits like isolation and portability. Build sizes and snapshotting in WebAssembly depend on the application, and more information can be found on the Mozilla Hacks website and Bike Reliance site.

Workshops on related topic

Master JavaScript Patterns
JSNation 2024JSNation 2024
145 min
Master JavaScript Patterns
Top Content
Featured Workshop
Adrian Hajdin
Adrian Hajdin
During this workshop, participants will review the essential JavaScript patterns that every developer should know. Through hands-on exercises, real-world examples, and interactive discussions, attendees will deepen their understanding of best practices for organizing code, solving common challenges, and designing scalable architectures. By the end of the workshop, participants will gain newfound confidence in their ability to write high-quality JavaScript code that stands the test of time.
Points Covered:
1. Introduction to JavaScript Patterns2. Foundational Patterns3. Object Creation Patterns4. Behavioral Patterns5. Architectural Patterns6. Hands-On Exercises and Case Studies
How It Will Help Developers:
- Gain a deep understanding of JavaScript patterns and their applications in real-world scenarios- Learn best practices for organizing code, solving common challenges, and designing scalable architectures- Enhance problem-solving skills and code readability- Improve collaboration and communication within development teams- Accelerate career growth and opportunities for advancement in the software industry
Remix Fundamentals
React Summit 2022React Summit 2022
136 min
Remix Fundamentals
Top Content
Featured WorkshopFree
Kent C. Dodds
Kent C. Dodds
Building modern web applications is riddled with complexity And that's only if you bother to deal with the problems
Tired of wiring up onSubmit to backend APIs and making sure your client-side cache stays up-to-date? Wouldn't it be cool to be able to use the global nature of CSS to your benefit, rather than find tools or conventions to avoid or work around it? And how would you like nested layouts with intelligent and performance optimized data management that just works™?
Remix solves some of these problems, and completely eliminates the rest. You don't even have to think about server cache management or global CSS namespace clashes. It's not that Remix has APIs to avoid these problems, they simply don't exist when you're using Remix. Oh, and you don't need that huge complex graphql client when you're using Remix. They've got you covered. Ready to build faster apps faster?
At the end of this workshop, you'll know how to:- Create Remix Routes- Style Remix applications- Load data in Remix loaders- Mutate data with forms and actions
Back to the Roots With Remix
React Summit 2023React Summit 2023
106 min
Back to the Roots With Remix
Featured Workshop
Alex Korzhikov
Pavlik Kiselev
2 authors
The modern web would be different without rich client-side applications supported by powerful frameworks: React, Angular, Vue, Lit, and many others. These frameworks rely on client-side JavaScript, which is their core. However, there are other approaches to rendering. One of them (quite old, by the way) is server-side rendering entirely without JavaScript. Let's find out if this is a good idea and how Remix can help us with it?
Prerequisites- Good understanding of JavaScript or TypeScript- It would help to have experience with React, Redux, Node.js and writing FrontEnd and BackEnd applications- Preinstall Node.js, npm- We prefer to use VSCode, but also cloud IDEs such as codesandbox (other IDEs are also ok)
How to Solve Real-World Problems with Remix
Remix Conf Europe 2022Remix Conf Europe 2022
195 min
How to Solve Real-World Problems with Remix
Featured Workshop
Michael Carter
Michael Carter
- Errors? How to render and log your server and client errorsa - When to return errors vs throwb - Setup logging service like Sentry, LogRocket, and Bugsnag- Forms? How to validate and handle multi-page formsa - Use zod to validate form data in your actionb - Step through multi-page forms without losing data- Stuck? How to patch bugs or missing features in Remix so you can move ona - Use patch-package to quickly fix your Remix installb - Show tool for managing multiple patches and cherry-pick open PRs- Users? How to handle multi-tenant apps with Prismaa - Determine tenant by host or by userb - Multiple database or single database/multiple schemasc - Ensures tenant data always separate from others
Integrating LangChain with JavaScript for Web Developers
React Summit 2024React Summit 2024
92 min
Integrating LangChain with JavaScript for Web Developers
Featured Workshop
Vivek Nayyar
Vivek Nayyar
Dive into the world of AI with our interactive workshop designed specifically for web developers. "Hands-On AI: Integrating LangChain with JavaScript for Web Developers" offers a unique opportunity to bridge the gap between AI and web development. Despite the prominence of Python in AI development, the vast potential of JavaScript remains largely untapped. This workshop aims to change that.Throughout this hands-on session, participants will learn how to leverage LangChain—a tool designed to make large language models more accessible and useful—to build dynamic AI agents directly within JavaScript environments. This approach opens up new possibilities for enhancing web applications with intelligent features, from automated customer support to content generation and beyond.We'll start with the basics of LangChain and AI models, ensuring a solid foundation even for those new to AI. From there, we'll dive into practical exercises that demonstrate how to integrate these technologies into real-world JavaScript projects. Participants will work through examples, facing and overcoming the challenges of making AI work seamlessly on the web.This workshop is more than just a learning experience; it's a chance to be at the forefront of an emerging field. By the end, attendees will not only have gained valuable skills but also created AI-enhanced features they can take back to their projects or workplaces.Whether you're a seasoned web developer curious about AI or looking to expand your skillset into new and exciting areas, "Hands-On AI: Integrating LangChain with JavaScript for Web Developers" is your gateway to the future of web development. Join us to unlock the potential of AI in your web projects, making them smarter, more interactive, and more engaging for users.
Build and Launch a personal blog using Remix and Vercel
Remix Conf Europe 2022Remix Conf Europe 2022
156 min
Build and Launch a personal blog using Remix and Vercel
Featured Workshop
Robert Pop
Robert Pop
In this workshop we will learn how to build a personal blog from scratch using Remix, TailwindCSS. The blog will be hosted on Vercel and all the content will be dynamically served from a separate GitHub repository. We will be using HTTP Caching for the blog posts.
What we want to achieve at the end of the workshop is to have a list of our blog posts displayed on the deployed version of the website, the ability to filter them and to read them individually.
Table of contents: - Setup a Remix Project with a predefined stack- Install additional dependencies- Read content from GiHub- Display Content from GitHub- Parse the content and load it within our app using mdx-bundler- Create separate blog post page to have them displayed standalone- Add filters on the initial list of blog posts