A11Y 101: What's WCAG

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.
Search for a command to run...

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.
No comments yet. Be the first to comment.
In this series I'll explore the basics of accessibility and you can join me on this learning trip.
When it comes to accessibility, one of the most tricky but highly used tools is a screenreader. Screen readers are tools that can be used by visually impaired people. It could be people who are blind or need assistance in navigating a website. You mi...
Most of you know me for my consistency, a golden arrow in my blog series. I've written 1000 articles in 1008 days! Almost an article a day, and my honeymoon was the only holiday I ever took. I'm super proud of this achievement; it has been a fantasti...

It's not the first time I'll be talking about community. I think it's an essential aspect of any successful tool. This shows in my previous explorations of Astro, Medusa, and now Vendure as well. All these products thrive in a super open, welcoming, ...

The cool part about Vendure is how easy it is to set up and how abstract each layer is. Basically, we get the following elements: External database Server Worker Admin UI Frontend While this is amazing, it also brings a bit of complexity when it co...

The previous article looked at customizing Vendure on a data and process level. In this article, we'll look at customizing emails, as they are often a big part of a webshop system. We'll be looking at two different layers of customization for customi...

Even though Vendure is a pretty significant project out of the box, in some cases, we might want to go in and modify some elements to work to our specific use case. In this article, I'll take a high-level look at some elements we can customize within...

While researching accessibility, you will come across WCAG a lot, but what is this WCAG actually, and should we care about it?
WCAG stands for Web Content Accessibility Guidelines, and it's an international standard on how to make web content more accessible for people with disabilities.
The guidelines are published by World Wide Web Consortium, also known as W3C.
And in short, they are guidelines on how to make the web more accessible.
There are different versions of the WCAG, including:
It's good to note that all guidelines from 2.0 are also included in 2.1, and everything from 2.0 and 2.1 is included in 2.2.
So if you already made sure you were 2.0 compliant, the updates will be less work for you.
According to these guidelines, it's basically a guideline to help those wanting to make their website accessible.
It includes:
Each section of the WCAG contains multiple guidelines divided into four leading principles.
Also known as POUR.
Each of these four principles has its own guidelines on what you should do to comply with these rules.
Each of the pillars defines three levels of conformance. This is used to identify different groups and needs.
These levels are:
And here, the same rules apply. If you are A compliant, these sections automatically cross for AA.
The minimum level of compliance is A, and we should at least adhere to this level. For level AA, there are some additional elements we can incorporate. Level AAA is the maximum level we can achieve. However, this is not recommend for most websites as it is not possible to satisfy this level for some content.
The main question from me was, ok but then what's required? Or what should we aim for?
And the truth is, it's a bit vague and depends on your country's rule.
As these policies are different worldwide, W3C has a comprehensive list of which countries use which ruleset.
Web Accessibility Laws & Policies
A quick glance at this table shows that most countries will legally set WCAG 2.0 to be met.
If we take The Netherlands as an example.

We can click on the country and see the details for the legally required policy.
We can quickly see it's a law enacted in 2016 and that it's mandatory for both government and the public sector!
It is stated by law you are required to adhere to WCAG 2.0, and looking in more detail, you can find the standard: EN 301 549 Which is a European standard for web accessibility and each European country can use this standard within their laws to test web content.
TLDR: Most countries require at least WCAG 2.0 to be met at level AA. However, I would recommend looking at 2.1 as these documents will shortly be updated to a new standard.
The WCAG is a great list of guidelines with which we can assess our web content.
If you'd like more information, the official guide is very comprehensive and complete.
In the upcoming articles, we'll go into a bit more detail about how we can adhere to these rules.
Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on Facebook or Twitter