WCAG 2.2 Updates

News

19 October 2023

What are WCAG?

WCAG 2.2 Web Accesibility Guidelines

First of all, it is important to understand the meaning of WCAG. WCAG, or Web Content Accessibility Guidelines, are the guidelines we must follow to make our website completely accessible to all people.

In October 2023, we took a step forward by moving from WCAG 2.1 to WCAG 2.2. Now, you might be wondering: What are the new additions that this version 2.2 of WCAG brings?

WCAG 2.2 introduces 9 new criteria, and it is important to note that one criterion has been removed: 4.1.1 Parsing.

New criteria

In this post, we are going to address these changes in a simple way with examples. One detail to keep in mind is the conformance level of each criterion, which can be A, AA, or AAA, with A being the lowest level and AAA being the highest level. This level is indicated in the title of each criterion. Public administrations are required by law to maintain an AA level on our websites and applications.

To start, we find three new criteria that focus on keyboard focus, two of which refer to the same issue, “Focus Not Obscured,” but with different levels of detail.

These three criteria are:

2.4.11 Focus Not Obscured (Minimum) (AA)

This is the most basic of the three criteria. Its requirement is that the element that has focus be PARTIALLY visible, meaning that, for example, if a banner exists on the web page, it should not completely hide other elements. This problem is quite common in banners we usually see at the bottom of web pages, such as those used to accept cookies, as they tend to cover page elements until we click the accept button.

2.4.12 Focus Not Obscured (Enhanced) (AAA)

This criterion is practically identical to the previous one, but more demanding. It requires that the focus be COMPLETELY visible, without any kind of obscuring or obstruction.

In the following image we can clearly see with an example when each criterion is met. As we can observe, in the first case the focus is completely covered by the banner, in the second it is partially visible, and in the third it is completely visible:

Example of accessible focus with the new WCAG 2.2 criteria

2.4.13 Focus Appearance (AAA)

This criterion focuses on ensuring that the focus has the appropriate size and contrast. In this case, it is established that the focus must have a minimum size of 2 pixels wide and a contrast of at least 3:1 with respect to the surrounding elements.

On many occasions, colored buttons are used that meet the contrast requirements in relation to the background, but do not do so with keyboard focus, for example a black button with black focus. A good practice is to leave a 2-pixel space between the focus and the button to ensure that the focus is clearly visible and complies with accessibility standards.

Example:

Example of a button with focus 2 pixels away

 

We conclude with the new criteria regarding keyboard focus and move on to those related to data input modalities.

2.5.7 Drag movements (AA)

This criterion is very straightforward, it focuses on ensuring that any action that a user can perform by dragging an element can also be carried out using simple actions. A practical example is seen in the Windows Recycle Bin: the user has the option to drag a document they want to delete to the recycle bin but also has the alternative of pressing the “Delete” button to achieve the same result. They can also open an options window with a right-click and select “Delete.”

2.5.8 Target size (minimum) (AA)

This criterion covers two crucial aspects: the minimum size of the element, which must be at least 24×24 pixels, and adequate spacing between elements. The spacing between elements is essential to prevent the user from accidentally clicking in an undesired location. A clear example of this can be seen in the menu of this same page. Although it is not visible at first glance, when analyzing the code, you can see that there is spacing between each of the elements, which facilitates interaction and reduces the possibility of unintentional clicking errors.

With this visual example you will be able to understand much better:

Example of spacing between web elements

Next we have a criterion from the “Predictable” guideline

3.2.6 Consistent help (A)

This is a very simple criterion to meet, we only need to place the help options (Chat, contact, help, etc) always in the same place regardless of which page of our website we are on.
A very common and recommended practice is to always place these help elements in the footer.

And finally we are going to see the 3 last guidelines related to input assistance.

3.3.7 Redundant Entry (A)

Do not ask the user to enter the same information twice.
You’ve probably noticed when entering your data in stores like Amazon that when asking for your shipping address there is a checkbox that says “The shipping address is the same as the billing address” by checking this box the fields are automatically filled in and we avoid having to enter the same information again.

In the following points we again find 2 criteria with the same objective, this time focused on user authentication, but each with a different level of detail

3.3.8 Accessible Authentication (minimum) (AA)

This criterion seeks to prevent people from having to solve, remember or transcribe something to log in. This criterion also covers passwords.
With the introduction of this criterion, it is required that an alternative be provided to log in without needing to enter a password. There are various ways to achieve this, one of the most common being scanning a QR code with an application to log in to the website. In the case of our institution, the UMH, we offer users the possibility of logging in through the use of a digital certificate. Did you know that by doing it this way, you can avoid the hassle of entering a two-factor authentication each time you access?

3.3.9 Accessible Authentication (enhanced) (AAA)

This criterion focuses on preventing users from having to recognize objects or images to log in.
Basically, it is aimed at those annoying captchas that often ask us to identify zebra crossings, traffic lights, cyclists and other visual elements. You’ve surely encountered these challenges more than once. The idea behind this criterion is to make the authentication process more accessible and less tedious for all users.
We’re sure you’ve felt like this at some point:
Example traffic light captcha

We hope this article has provided you with a clearer understanding of the updates in the WCAG and how these guidelines are designed to ensure more accessible access for everyone to applications or websites.

If you have any questions or comments on these topics or any other aspect of web accessibility, feel free to share them. Remember that you can ask us for a personalized consultation whenever you want. See you next time!