accessibility development

Accessibility testing: Screen reader edition

16 September 2016

Accessibility testing on our websites is a large, large topic. I am writing about testing with screen readers here, but please keep in mind that accessibility testing != screen reader testing alone. There is a already great article from Viget about web accessibility testing in general – “How to do Web Accessibility QA“. (Be sure to read both parts.)

What is a screen reader?

A screen reader is a piece of software installed on your computer that will read everything on your screen, including websites, applications, and the operating system UI in general. Screen readers are not just for websites.

There are lots of different screen readers out there – JAWS (Windows, paid), NVDA (Windows, free), VoiceOver (Mac), and plenty more. To help you find the reader that is right for you, check out this overview of the major screen readers and this screen reader comparison.

Getting started

Screen readers will read your website as long as your browser is the active window.

  1. Open the screen reader.
  2. Open your web browser of choice.
  3. Go to the site you are testing. The first thing the screen reader will generally read is the website title – i.e. anything inside the <title> HTML tags.

From here, you can start navigating the site using your keyboard. All navigation commands generally involve a software key. This is simply a key on your keyboard that indicates to the screen reader that you are issuing it a command. This can vary by software and is often customizable. (For example, the default JAWS key is the INSERT key.)

  1. The UP/DOWN arrow keys let you navigate through the page. You will be navigating the page based on the order of the HTML elements in the DOM. Navigation has nothing to do with their visual order on the screen. The down arrow will lead you to the next element on the page. The up arrow will lead you to the previous element on the page.
  2. Press ENTER to visit a link.

How do I know where I am on the page?

Listen!

The screen reader will read the text on the page (or, ideally, the alt text of images on the page). For the most part, you will hear the actual content on the page. In some cases, the reader will give you context clues about what an element is – particularly if that element is interactive.

Each reader is slightly different in the way it reads the content and presents these context clues. The following examples are from the JAWS screen reader.

Actually Testing

It does take a bit of practice to get the hang of navigating a site with a screen reader. Once you are comfortable with the tool, you can start concentrating on the important parts of your testing. While you are testing your site, keep these questions in mind:

If the answer to any of these questions is no, then you have found an item that needs to be fixed! Make a note of the difficulties you had. The fix could be something simple, like adding alt text to an image where it is missing, or something more complicated, like having to retool a form to make it easier to use with a keyboard.