On this page:
- Introduction
- Screen reader compliance test
- Required test techniques for individual Web checkpoints
- 1.1a: Text alternatives, 1.1c Image maps
- 1.1b: Non-text content
- 1.2b: Web audio and video (prerecorded)
- 1.3a: Information relationships, 1.3c: Meaningful sequence, 1.3d: Forms, and 1.3e: Tables
- 1.3f: Cascading style sheets
- 2.1a: Keyboard, 2.1b Scripts, 2.4e Focus order, 4.1b Name, role, value
- 2.4a: Navigational features, 2.4c: Frames
- 2.4d: Page titles, 2.4f: Link purpose
- 3.2b: On input, 3.3a Error identification, 3.3b Labels or instructions
- Appendix 1: Screen Reader usage information for Web
- Appendix 2: Document change summary
Introduction
This document provides details on how to use a screen reader when performing an accessibility verification test (AVT) of Web pages and Web applications. For accessibility compliance, the following must be verified with a screen reader:
- Ability to navigate the Web content.
- Ability to understand the Web content.
- Ability to operate any controls in the Web content.
There are two approaches to testing with a screen reader. The first is a task-oriented "system test" approach used to verify the user's ability to accomplish the tasks provided by the Web content. This is the approach to use when performing the screen reader test. The second approach is a unit test, or checkpoint-oriented approach, this approach should be used to verify that a specific widget in the Web content is working properly, rather than testing the page as a whole. This document is organized to help accomplish the screen reader test using either approach. See the section titled "Recommended approach for compliance test" for information on how to approach a screen reader test from an end-user's perspective, and the test section in each checkpoint for information on testing specific types of Web content.
A screen reader should be used as a final test to verify the content from an end-user's perspective. There are other inspection tools and manual test steps that should be performed before a screen reader is used to test the Web content. Inspection tools and the manual test steps allow can help to assess and verify the accessibility enablement of the Web content. By finding and fixing as many enablement issues as possible first, the screen reader test is much quicker and easier to perform.
Screen reader compliance test
The screen reader compliance test is in the form of user-oriented tasks. To perform the test, understand the tasks the user needs to accomplish when interfacing with and navigating the Web content. Group the tasks into end user scenarios use the scenarios to verify that a person who is blind can actually accomplish the tasks using only the keyboard (no mouse) and a screen reader. While testing the user scenarios, also test specific types of Web content. Refer to the checkpoint-oriented test techniques later in this document for more specific details.
- It is recommended that before starting the screen reader test, all other accessibility tests for the Web content are completed. This makes the screen reader test go much quicker and easier.
- Note: a person who is blind does not use mouse, so a mouse must not be used during the screen reader test. Many testers unplug the mouse so it cannot accidentally be used.
Although the checkpoints in the Web checklist document the accessibility requirements, it is important to test the application in a realistic manner. The following is a general approach for testing with a screen reader. The approach is to test the application's functionality with the screen reader. The details for how to perform the steps can be found in the individual checkpoint breakdown below.
Recommended approach for compliance test when using a screen reader
- Locate common items such as Help, Site Map, etc that can be useful to familiarize the user with the site and functionality.
- Exercise the navigation items in any navigation bar that may be in the content to explore the contents of the site.
- Use the "Skip to main content" to access the main content area.
- Use the short cuts and functionality provided by the screen reader and by the operating system to aid in navigation and interacting with the content. Understanding and test using these short cuts and built-in navigation functionality will ensure that the test scenarios use the same techniques that are used by the end users. For example on Microsoft® Windows® operating system, the tab key and arrow keys are used for keyboard navigation.
- If there is a registration form, access it and be sure that the forms are accessible.
- Determine if the page uses headings and lists appropriately. This helps the end user navigate easier, especially if the screen reader supports headings and lists. For example, text in bold made to look like headings should use heading markup. Similarly, text made to look like lists should use list markup.
- Locate tables in the application that are used to present data in a tabular format and test that the screen reader announces them appropriately.
- Locate any charts, graphs or complex images (images that depict relationships between entities or images that give instruction). Test that the screen reader announces them properly and that the text alternatives adequately represent the content.
- Throughout the test there will be images that need appropriate alternative text. The text alternatives should be meaningful and useful to a user who can not see the screen.
Required test techniques for individual Web checkpoints
The following sections provide details on how to use a screen reader to test specific elements covered by each of the checkpoints in the Web checklist version 5.1. Use the test techniques described here in conjunction with the recommended approach for compliance testing described previously in this document.
The following identifies all the checkpoints in the Web checklist that can be verified using the screen reader.
- Pass Criteria: To pass each checkpoint all the compliance criteria (Required test techniques) for each checkpoint are verified to be true.
- Fail Criteria: Any failures from applicable compliance criteria (Required test techniques) for each checkpoint.
1.1a: Text alternatives, 1.1c Image maps |
|---|
1.1a: All non-text content that is presented to the user has a text alternative that serves the equivalent purpose.
How to test 1.1a and 1.1c: Action:Use one of the following methods to either view or listen to the alt text for each image.
Required test techniques:
|
1.1b: Non-text content |
1.1b: A descriptive label is provided for time-based media, including live audio-only or live video-only content. Non-text content that is used to confirm that content is being accessed by a person rather than a computer is available in different forms to accommodate multiple disabilities. How to test 1.1b: Action:
Required test techniques:
|
1.2b: Audio and video (prerecorded) |
1.2b: Audio descriptions of video, or a full multimedia text alternative including any interaction, are provided for prerecorded multimedia. How to test 1.2b: It is important that a person who is blind or visually impaired have access to the visual information provided in the multimedia through audio description or full multimedia text alternative describing everything that is happening in the multimedia. Required test techniques:
|
1.3a: Information relationships, 1.3c: Meaningful sequence, 1.3d: Forms, and 1.3e: Tables |
1.3a: Information structure, and relationships conveyed through presentation can be programmatically determined or are available in text. How to test 1.3a, 1.3c, 1.3d, 1.3e: Actions:Navigate to specific elements in the content and listen to the screen reader output. When interacting with different types of content, traverse through the content forward as well as in reverse. When the screen reader provides functionality to quickly navigate to specific types of content, use that method to locate that content and navigate to it. Listen to the screen reader and interact with the content/elements using the screen reader's recommended methods. Navigation to specific types of content might include:
Required test techniques:
|
1.3f: Cascading style sheets |
1.3f: Hiding content using style sheets: How to test 1.3f: This technique applies to Web pages where content has been hidden from the visual display of a Web page, and is intended for use with screen readers to provide additional information to blind users. Required test technique:
|
2.1a: Keyboard, 2.1b Scripts, 2.4e Focus order, 4.1b Name, role, value |
How to test 2.1a, 2.1b, 2.4e, 4.1b: Required test technique:
|
2.4a: Navigational features, 2.4c: Frames |
2.4a: Navigational features - A mechanism is available to bypass blocks of content that are repeated on multiple Web units and skipping over navigation links to get to main content of page. How to test 2.4a, 2.4c: It is important to structure Web content in such a way that content is found quickly and easily by using methods other than a mouse. This means providing a way to skip over the primary navigation links with a skip to main content link, grouping elements together along with functionality that allows users to skip over large blocks of similar content like navigation links, use of frames to organize its content, and the use of WAI-ARIA landmark roles in the content. For details on support for WAI-ARIA landmarks refer the development section of this checkpoint point.
Actions:Navigate to specific elements in the content and listen to the screen reader output. When the screen reader provides the functionality to quickly navigate to specific types of content, use that method to locate the content, navigate to it, and listen to the screen reader as well as interact with the content as denoted to validate the implementation. Navigation to specific types of content might include:
Required test techniques:
|
2.4d: Page titles, 2.4f: Link purpose |
2.4d: Page titles- Web pages have titles that describe a topic or purpose. How to test 2.4d, 2.4f: Screen readers help users who are blind orient themselves by reading page titles before reading other page content. This enables the quick identification of pages within a Web site or Web application. If titles are missing or not descriptive, it forces screen reader users to browse deeply into the content in order to determine the essence of a page. Action:
Required test techniques:
|
3.2b: On input, 3.3a Error identification, 3.3b Labels or instructions |
3.2b: Changing the setting of any user interface component does not automatically cause a change of context unless the user has been advised of the behavior before using the component. How to test 3.2b, 3.3a, 3.3b:
Action:
Required test techniques:
When invalid data is entered in fields verify that the screen reader conveys the data that was flagged as invalid to the user.
|
Appendix 1: Screen Reader usage information for Web
Navigation quick keys
Navigation can be made faster and easier on a Web page by using short-cuts and quick navigation keys. Operating systems, products, Web pages, and screen readers may assign short-cuts to help the end users interact more easily. Study the short-cuts and navigation keys and perform the tasks that are anticipated by the end user.
HTML tables
Practice navigating accessible tables to understand how the screen reader interacts with tables. Some screen readers detect only data tables and indicate that a table contains x number of columns and y number of rows when the table is entered. The screen reader should give a verbal indication when the end of a table is reached. If tables are nested the screen reader should announce the nesting level of each table. The screen reader should provide commands that allow navigation within tables, and from one table to another, as well as get information about the position of table cells and the structure of tables on a page. Some screen readers provide a table navigation mode with commands to navigate the table. For a complete list of commands for table navigation consult the documentation provided with the screen reader. Note: The screen reader may not identify row or column headers when navigating tables using standard reading commands or simple navigation. It is best to use the table navigation in the manner designed by the screen reader.
Layout Tables: Obtaining information about layout tables may provide a better understanding of the structure of a page. For some screen readers, there might be a configuration setting to cause the screen reader to provide information about layout tables. For example, set Layout Tables to 'On' in the Adjust JAWS Verbosity Dialog.
General navigation commands
Before beginning the test, we recommend filling in the following table of general navigation commands for your specific screen reader. The commands listed here are based on the Microsoft® Windows® operating system using Internet Explorer as the browser.
Description |
Commands |
|---|---|
Screen Reader to Stop Speaking |
|
Back a Page |
Alt+Left Arrow or Backspace |
Forward a Page |
Alt+Right Arrow |
Move to Address Bar |
Alt+D |
Move to next object; Move to previous object |
Tab; Shift+Tab |
Activate link |
Enter key or Space bar |
Go through drop down list of items |
Arrow down, arrow up |
List Tables |
|
List Forms Fields |
|
List Headings |
|
List Links |
|
List Frames |
|
Top of Page |
Ctrl+Home |
Virtual Find |
Ctrl+F |
Appendix 2: Document change summary
- Version 1.0 - September 1, 2009. Version 1.0 created to address Web checklist version 5.1
W3C Recommendation 11 December 2008: http://www.w3.org/TR/WCAG20/
Copyright 1994-2009 W3C (Massachusetts Institute of Technology, European Research Consortium for Informatics and Mathematics, Keio University), All Rights Reserved.
®2009 IBM Corporation
Last updated September 1, 2009.
