playwright-a11y-demo

About This Project

This repository contains the code, content and documentation for an exploration of Accessibility Testing With Playwright.

Read on to learn:

Letโ€™s start by first understanding what Web Accessibility means and why it is important.

1.1 Background

According to the W3C Web Accessibility Initiative:

Web accessibility means that websites, tools, and technologies are designed and developed so that people with disabilities can use them. More specifically, people cal perceive, understand, navigate and interact with the Web, and can contribute to the Web.

Here, disabilities can refer to auditory, cognitive, neurological, physical, speech, or visual impairments. And while the initiative was defined for people with disabilities, the curb cut effect shows that it leads to experiences that are better for everyone as a result.

As modern web application developers, we should keep web accessibility guidelines in mind when designing and building user experiences so they are truly accessible to everyone.

1.2 Motivation

The problem needs to be addressed in two directions:

To get a sense of the scope of impact, letโ€™s look at data on web accessibility compliance for popular sites deployed today.

WebAIM - is an initiative that shares developer resources, training and guidance with web accessibility in mind. Their annual Web AIM Million report is a signature initiative that tracks the accessibility compliance of the top 1M sites every year, using the WAVE accessibilty engine.

Here are some insights from the 2023 report.

WCAG Conformance Report

In other words, 96% of the top 1M pages are not friendly to people with disabilities.

1.3 Objectives

The report also shares the graphic below indicating that 96% of the detected errors are caused by 6 main types of failures. This gives us a more manageable starting point to explore accessibility compliance.

Specifically, if we can remediate these 6 types of errors first, we can have a non-proprtionaly large impact on accessibility compliance for the web at scale.

WCAG Conformance Report

Our objectives:

Weโ€™ll tackle the first objective next.


[๐Ÿ‘‰๐Ÿฝ Next: Website Technologies]