For each time limit that is set by the content, at least one of the following is true:
- Turn off: The user can turn off the time limit before encountering it.
- Adjust: The user can adjust the time limit before encountering it to at least 10 times the length of the default setting.
- Extend: The user is warned before time expires and given at least 20 seconds to extend the time limit with a simple action (for example, "press the space bar"), and the user can extend the time limit at least 10 times.
- Real-time Exception: the time limit is a required part of a real-time event (for example, an auction), and no alternative to the time limit is possible.
- Essential Exception: The time limit is essential and its extension would invalidate the activity.
- 20 Hour Exception: The time limit is longer than 20 hours.
On this page:
Rationale
The purpose of this checkpoint is to ensure that users with disabilities have adequate time to interact with Web content when possible. People with disabilities such as blindness, low vision, dexterity impairments, and cognitive limitations, may require additional time to read content or to perform functions, such as completing online forms. When faced with time-dependent Web functions, these users have difficulty performing the required action before reaching a time limit, which makes the service potentially inaccessible to them. By designing functions that are not time-dependent, developers can help people with disabilities complete these functions. By providing options to disable time limits, customize the length of time limits, or request more time before reaching a time limit, you can enable those users who require more time to successfully complete tasks. These options are listed with the most impactful appearing first: disabling time limits has a larger impact than customizing the length of time limits, which has a larger impact than requesting more time before reaching a time limit.
A time limit includes any process that occurs without user initiation after a set amount of time or on a periodic basis, such as partial or full updates of content (for example, page refresh), changes to content, or the expiration of a window of opportunity for a user to react to a request for input. In addition, time limits include content that is advancing or updating at a rate beyond the user's ability to read and/or understand it, such as animated, moving or scrolling content that introduces a time limit on a user's ability to read content.
In some cases, however, changing the time limit is not possible (for example, during an auction or other real-time event) and, as a result, these cases are eligible for an exception.
Required development and unit test techniques
To comply with this checkpoint, you must meet all of the following techniques. These techniques are defined in WCAG 2.0 Level A Success Criterion 2.2.1 (link resides outside of ibm.com).
- Change default time limit: Provide a means for the user to turn off, adjust, or extend the default time limit.
Note: The examples presented in the techniques are not exhaustive. They are meant to illustrate the spirit of this checkpoint.
General examples
-
Change default time limit: Provide a means for the user to turn off, adjust, or extend the default time limit.
To comply with this technique, you must implement at least one of the following examples.
General example 1
Provide a means for the user to turn off the time limit. It is essential for the user to have a mechanism for turning off the time limit without a time limit itself and before the time at which the page expires. To accomplish this, place a mechanism at or near the top of the page to enable people with disabilities to find and activate it quickly.
An example is a Web page that contains a listing of news headlines that automatically update each minute and has a link that turns off the updating at the top of the page.
General example 2
Provide the user with a means to set the time limit up to 10 times the default time limit. An example is a Web-based email application that automatically logs users out after 30 minutes of inactivity. The application should include a preference that enables users to adjust the amount of time to any value.
General example 3
Provide a checkbox on the first page of a multipart form that enables users to set a longer session time limit or no session time limit. An example is a Web page that contains the first part of a five-part form. Immediately following the general instructions for completing the form, the Web page has a checkbox with the label, "Allow an additional 15 minutes to complete each part of this form."
General example 4
Allow the user to pause the content and restart from the point at which it was paused. Provide this mechanism either through interactive controls that conform to WCAG standards or through keyboard shortcuts. If using keyboard shortcuts, they must be documented.
An example is a Web site that contains a scrolling news banner at the top of the page. Users can press the Escape key to pause the scrolling and press Escape again to restart it.
General example 5
Do not cause a page to redirect to a new URL after a delay. When a redirect occurs after a time delay, it is an unexpected change of context that can confuse or interrupt the user.
The following code example is a failure of this checkpoint:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Old page. Go to new URL</title>
<meta http-equiv="refresh"
content="10; url=http://w3-03.ibm.com/NewURL" />
</head>
<body>
<p>If you are not automatically redirected to the new URL in 10 seconds select the link below.
<a href="url=http://w3-03.ibm.com/NewURL">New URL</a>
</p>
</body>
</html>The following code example is the correct way to implement this technique:
<p>“This page has been moved to a new location: <a href=”url=http://w3.03.ibm.com/NewURL”>New URL</a></p>For additional information, refer to WCAG 2.0 F40: Failure of Success Criterion 2.2.1 due to using meta redirect with a time limit (link resides outside of ibm.com).
Required unit tests for general development technique 1
Refer to the required unit tests for script development technique 1.
Script examples
-
Change default time limit: Provide a means for the user to turn off, adjust, or extend the default time limit.
To comply with this technique, you must implement all of the following examples.
Script example 1
Provide a dialog box that appears three minutes before the page access time limit expires and enable the user to extend the time by selecting a button.
For additional information, refer to the WCAG 2.0 examples for using scripts to warn users of an expiring time limit (link resides outside of ibm.com).
Script example 2
Provide a mechanism that enables users to display moving, scrolling, or auto-updating text in a static window or area. For example, an information box or marquee on ibm.com that scrolls a large block of text. A button allows the user to stop scrolling and display the entire block of text.
For additional information, refer to the WCAG 2.0 examples of using scripts to allow users to scroll or pause content (link resides outside of ibm.com).
Required unit tests for script development technique 1
Perform the following unit tests.
- Identify any content that has a time-out function using the available tools and manually and verify at least one of the following is true:
- The user can turn off the time limit before encountering it.
- The user can adjust the time limit before encountering it over a wide range that is at least ten times the length of the default setting.
- The user is warned before time expires and given at least 20 seconds to extend the time limit with a simple action (for example, "press the space bar"), and the user can extend the time limit at least 10 times.
- If none of the above compliance criteria are met, you can claim compliance if you verify one or more of the following conditions:
- The time limit is a required part of a real-time event (for example, an auction), and no alternative to the time limit is possible (Real-time Exception); or
- The time limit is essential and its extension would invalidate the activity (Essential Exception); or
- The time limit is longer than 20 hours (20 Hour Exception).
- Identify any content that has a time-out function using the available tools and manually and verify at least one of the following is true:
Recommended development techniques
Although you do not have to implement the recommended techniques in order to comply with this checkpoint, you should review them because they can improve the accessibility and usability of the application. Refer to the WCAG 2.0 Additional Techniques (Advisory) for Success Criterion 2.2.1 (link resides outside of ibm.com) for a list of techniques and examples.
©2012 IBM Corporation
Last updated February 1, 2012.
W3C Recommendation 11 December 2008: http://www.w3.org/TR/WCAG20/ (link resides outside of ibm.com)
Copyright 1994-2009 W3C (Massachusetts Institute of Technology, European Research Consortium for Informatics and Mathematics, Keio University), All Rights Reserved.
