Eliquo Training logo

WCAG
Checklist

Eliquo Training Inc.

The WCAG checklist’s purpose is to provide you with a foundational guide to creating WCAG compliant web content. It is not a complete user and techniques guide. Please note that this guide also demonstrates some key errors often made by web content producers. As a result of these errors being included in the guide, this web page is not fully WCAG 2.2 AA compliant.

Text Alternatives

It’s important all images have the attribute for alternative text (alt="") regardless of whether an alternative text is added or not.

A screen reader knows how to handle both an empty alt attribute and one with text. If there is no attribute some screen readers will read the path to the image instead, which will often give no value to the end user.

The alt attribute should typically:

  • Be accurate and equivalent in presenting the same content and function of the image.
  • No more than a few words are necessary, though rarely a short sentence or two may be appropriate. Try not to exceed 120 characters.
  • Not be redundant or provide the same information as text within the context of the image.
  • Never use the phrases "image of ...", "picture of ..." or "graphic of ..." to describe the image.

Example:

Moraine Lake

Code:

<img src="assets/img/ml-001.jpg" alt="Moraine Lake" class="img-fluid">

Video & Audio

Audio-only

A transcript of relevant content is provided for non-live audio-only (audio podcasts, MP3 files, etc.).

Video-only

A transcript or audio description of relevant content is provided for non-live video-only, unless the video is decorative.

Video with Audio

  1. Synchronized captions are provided for non-live video (YouTube videos, etc.).
  2. A transcript or audio description is provided for non-live video.

Headers, List & Tables

1

Headings
(Important)

Every page should have one unique Heading Level 1. Not 0, not 2, not 3, just One

Never Skip Headers

Never jump a Heading Level. Example, don't use a Heading Level 3 and then a Heading Level 5 without ever using a Heading Level 4.

Heading Level 2 Exception

It's allowed to have Heading Level 2's before HEADING LEVEL 1 on the page to help visually impaired users navigate.

2

Lists

Lists (ul, ol, and dl), emphasized or special text (strong, abbr, blockquote, for example), are built with semantic markup appropriately.

Example (Correct):

  • Tesla Model S
  • Tesla Model 3
  • Tesla Model X
  • Tesla Model Y
Code:

<ul class="list-unstyled"> 
  <li> Tesla Model S</li> 
  <li> Tesla Model 3</li> 
  <li> Tesla Model X</li> 
  <li> Tesla Model Y</li> 
</ul> 

Example (Wrong):

Tesla Model S
Tesla Model 3
Tesla Model X
Tesla Model Y


<p>
  Tesla Model S<br>
  Tesla Model 3<br>
  Tesla Model X<br>
  Tesla Model Y
</p>

3

Tables

It's simple, it's 2026. Don't use tables for styling purposes. We have grid systems for that.

Tables are used for tabular data and data cells are associated with their headers. Data table captions, if present, are associated to data tables.

Avoid merged cells when possible but if unavoidable make sure to use the scope attribute.

Example:


<table class="table"> 
  <thead> 
    <tr> 
      <th></th> 
      <th colspan="4" scope="col">Three months ended Sep 30</th> 
      <th colspan="4" scope="col">Nine months ended Sep 30</th> 
    </tr>	 
    <tr> 
      <th scope="row">Details</th>			 
      <th scope="col" class="bg-info">2020</th> 
      <th scope="col">2019</th> 
      <th scope="col">$</th> 
      <th scope="col">%</th> 
      <th scope="col" class="bg-info">2020</th> 
      <th scope="col">2019</th> 
      <th scope="col">$</th> 
      <th scope="col">%</th> 
    </tr> 
  </thead> 
  <tbody> 
    <tr> 
      <th scope="row">Salaries and short-term benefits</th> 
      <td class="bg-info">107</td> 
      <td>103</td> 
      <td>4</td> 
      <td>3.9</td> 
      <td class="bg-info">333</td> 
      <td>322</td> 
      <td>11</td> 
      <td>3.4</td> 
    </tr> 
    <tr> 
      <th scope="row">Employee benefit plans</th> 
      <td class="bg-info">49</td> 
      <td>39</td> 
      <td>9</td> 
      <td>3.2</td> 
      <td class="bg-info">121</td> 
      <td>23</td> 
      <td>11</td> 
      <td>3.4</td> 
    </tr> 
  </tbody> 
</table> 

Meaningful Sequence

Reading & Tabbing Order

The reading (what comes first in the code gets read first), navigation and tabbing order is logical and intuitive.

The navigation order of links, form elements, etc. is logical and intuitive. Avoid using the tabindex html attribute. Making an element untabbable is possible in the right situations.

Example:

Eliquo Training logo

Visit our website at eliquotraining.com


<p class="card-text"> 
  <a href="http://eliquo.ca" target="_blank" tabindex="-1"> 
    <img src="./assets/img/eliquo-logo.png" width="250" alt="Eliquo Logo"> 
  </a> 
</p> 

<p class="card-text"> 
  <a href="http://eliquo.ca" target="_blank" > 
    Visit our website at Eliquo.ca
  </a> 
</p> 

Instructions
(Colors, Shapes and Sounds)

Shapes

Instructions do not rely upon shape, size, or visual location. Examples: "Click the square icon to continue" or "Instructions are in the right-hand column".

Also try to avoid the word "see", consider using "refer" instead as not all users can see.

Sounds

Instructions do not rely upon sound. Example: "A beeping sound indicates you may continue.".

Also, don't auto play any sound / music / video.

Colors

Color alone is not used to distinguish links from surrounding text unless the contrast ratio between the link and the surrounding text is at least 3:1. An additional way to let users know it's a hyperlink is to underline the text.

Example: (Wrong)

Model 3 comes with the option of dual motor all-wheel drive, 20” Performance Wheels and Brakes and lowered suspension for total control, in all weather conditions. And a carbon fiber spoiler improves stability at high speeds, all allowing Model 3 to accelerate from 0-100 km/h in as little as 3.4 seconds.

Color Contrast

Text and images of text have a contrast ratio of at least 4.5:1.

Large text - at least 18 point (typically 24px) or 14 point (typically 18.66px) and bold - has a contrast ratio of at least 3:1.

The color of the text and the color of the background are not in sufficient contrast to each other.

Note: Contrasts are not relevant where content is hidden. But make sure that for hidden content, which becomes visible when receiving focus, the contrast ratio is sufficient.

There are many different tools you can use to test for this including snook.ca color contrast checker.

Example: (Wrong)

The Model 3 is the safest car ever tested by the National Highway Traffic Safety Administration (NHTSA), whose testing procedures determined Tesla's newest car has the lowest probability of injury in a collision of any of the over 900 cars NHTSA has tested.

Images with Text

Don't use text on your images. Simple, isn't it?

If the same visual presentation can be made using text alone, an image is not used to present that text.

Example: (Wrong)

Tesla Model 3

Example: (Correct)

TESLA MODEL 3
Tesla Model 3

Keyboard

All page functionality is available using the keyboard. If you are allowing the user to use drag & drop for example you need an alternative way to complete the same task with a keyboard.

Keyboard focus is never locked or trapped at one particular page element. The user can navigate to and from all navigable page elements using only a keyboard.

Always test Modal's. These are the biggest issue with modal and accessibility. You need to make sure the Modal has keyboard focus and can be dismissed via the keyboard as well.

Example:

Carousel

Don't use Carousel!

If you HAVE TO use a carousel, you need to make sure the user can control via the mouse AND keyboard. The user needs to be able to "Pause" the animation.

You will also need to make sure that the screen reader has access to the content and read it in the correct order.

Almost all of the testing done on carousels have proven content delivered via carousels to be missed by users. Few users interact with them. So what's the point?

Make your life and everyone else's life easier and just display your content in another way.

Example: (Wrong)

Bypass Block

A means of bypassing blocks of content that are repeated on multiple web pages must be provided.

One of the ways to ensure this is to have a link at the top of each page that goes directly to the main content area.

If the website has a very limited navigation system (2 or less links) a bypass block isn't required.

Skip to main content example

Page Title

Each web page has a unique, descriptive and informative page title.

It is highly recommended that you have the name of the page at the beginning of the page title followed by the name of the website.

Example:

WCAG Checklist - Eliquo Training Inc.

Hyperlinks & Buttons

The purpose of each link can be determined from the link text alone, or from the link text and its context.

Links and buttons with the same text that go to different locations are readily distinguishable.

Highly Recommended (AAA)

The purpose of each link or button can be determined from the link or button text alone.

If this is not possible, consider using invisible CSS text to give the link or button more context about where it's going.

Example of invisible text:

Cybertruck

Better utility than a truck with more performance than a sports car

Read more about the Cybertruck

.sr-only {
  clip: rect(1px,1px,1px,1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px !important;
}

Language

Language of the page

The language of the page is identified using the HTML lang attribute.

Example:


<html lang="en">

Language for part of the page

The language of page content that is in a different language is identified using the lang attribute.

Example:

I want to change the language to français


<p>I want to change the language to <span lang="fr">français</span>.</p>

Navigation

Navigation links that are repeated on web pages do not change order when navigating through the site.

Elements that have the same functionality across multiple web pages are consistently identified. For example, a search box at the top of the site should always be labeled the same way.

Make sure you have consistency.

Forms

Labels

Each form element (input, textarea, select, ect...) should always have a description that is explicitly associated with the field via a label to make sure that users of assistive technologies will also know what the field is for.

If it is not possible to add a visible description, create an invisible label using the WAI-ARIA attribute "aria-label".

Validation

If a validation error occurs via client-side or server-side validation, suggestions are provided for fixing the input in a timely and accessible manner.

Make sure that the screen reader has focus on the validation message either by using JavaScript "focus()" function or by using attribute aria-live="polite" to make sure it gets read by the screen reader.

HTML Validation

This one is easy yet it's by far the most common fail when I do my WCAG audits.

It's simple, run your html code into the html validator to make sure you code is valid.

You can put a URI or copy paste the code for internal application.

Run your validation now with the W3C validator

Help

If you need any more help, you can always contact us.

Eliquo is always happy to help anyone out who is making content accessible and available to... Everyone!

Location

900 Greenbank Road
Suite 408,
Ottawa, ON
K2J 4P6