1 Why this criterion exists
Time limits are often added to web applications for security, resource management, or fairness. For example, a banking site might log you out after a few minutes of inactivity to prevent unauthorized access. An online exam might have a countdown to ensure all participants finish within a set period. While these rationales can be valid, they create barriers for users who need more time to perceive, understand, and operate interface elements. WCAG Success Criterion 2.2.1, Timing Adjustable, exists to ensure that when time limits are present, users have control over them unless the limit is essential or extremely long.
The criterion falls under the Operable principle, which focuses on making interface components and navigation operable. If a user cannot complete a task because a timer expires before they can act, the interface is not operable for them. This is particularly critical for people with motor impairments who may take longer to move a mouse, press keys, or use alternative input devices. It also affects people with cognitive disabilities who may need extra time to read and process information, and people with low vision who may need to magnify content or use screen readers, both of which can slow interaction.
The core idea is simple: if a time limit is not absolutely necessary, remove it. If it is necessary, give users a way to adjust it. This flexibility ensures that the web remains accessible to as many people as possible, regardless of their abilities or the assistive technology they use.
2 Who it protects
The primary beneficiaries of Timing Adjustable are individuals with motor impairments, such as those with Parkinson's disease, arthritis, or spinal cord injuries, who may use alternative pointing devices, keyboards, or speech recognition. These users often need more time to navigate and activate controls. For them, a rapidly expiring form or session can mean starting over repeatedly, leading to frustration and exclusion. Screen reader users are also affected because navigating via synthesized speech and keyboard commands is inherently slower than visual scanning; a timer that assumes quick visual interaction will disadvantage them.
People with cognitive disabilities, including those with attention deficit hyperactivity disorder, autism, or traumatic brain injury, may need additional time to comprehend instructions, make decisions, or recall information. Time pressure can exacerbate anxiety and lead to errors. Similarly, users with low vision who rely on screen magnification or high contrast settings may take longer to locate and read content, especially if the page reflows or requires horizontal scrolling. Deaf or hard of hearing users who rely on captions or transcripts might need extra time to read them, particularly if the text is dense or the language is not their first.
Additionally, anyone using assistive technology that introduces latency, such as switch access with scanning, eye-tracking systems, or voice control, will benefit from adjustable time limits. The criterion also protects users in situations where they are temporarily unable to interact, such as a person with a broken arm or someone in a noisy environment where speech input is difficult. By accommodating these varied needs, Timing Adjustable promotes inclusivity and reduces the risk of excluding users based on disability or circumstance.
3 How conformance is measured
To conform to WCAG 2.2.1 at Level A, any time limit that is not essential and is shorter than 20 hours must satisfy at least one of the following: 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; or the user is warned before time expires and given at least 20 seconds to extend the time limit with a simple action (such as pressing the spacebar), and the user can extend the time limit at least ten times. Alternatively, the time limit may be extended automatically if the user is actively interacting with the page, but this must be predictable and not require complex actions.
The key is that the mechanism to adjust or extend must be available before the time limit expires and must be accessible to all users, including those using assistive technology. For example, a warning dialog must be focusable and announced by screen readers, and the action to extend must be operable via keyboard or other input methods. If the time limit is essential, such as in a real-time auction or a timed exam that is part of a certification, it may be exempt, but the burden of proof is high: the time limit must be integral to the activity and not merely a convenience for the site owner.
Conformance is measured by evaluating the presence and effectiveness of these mechanisms. Automated tools can detect some time limits, such as meta refresh tags or JavaScript timers, but they cannot determine whether a limit is essential or whether the adjustment mechanism is accessible. Therefore, manual testing is required to verify that users can actually control the time limit as required.
4 Where teams usually slip
One common mistake is implementing a session timeout without any warning or extension mechanism. Developers often assume that users will complete tasks quickly, but this ignores the diversity of user needs. Even a 15-minute timeout can be problematic for someone using a screen reader or switch device. Another slip is providing a warning but making it disappear too quickly or not making it accessible to assistive technology. For instance, a modal dialog that appears visually but is not announced by screen readers, or that cannot be focused with a keyboard, leaves many users unaware that time is running out.
Teams also frequently overlook the need to allow users to turn off or adjust the time limit before it starts. They might offer an extension only after the warning, but if the user misses the warning due to inattention or because it was not perceivable, they are out of luck. Additionally, some implementations allow extension only once or twice, not the required ten times, or they require a complex action like solving a CAPTCHA to extend, which defeats the purpose. Another issue is that time limits are sometimes applied to content that does not need them, such as a simple article that could be read at leisure. This unnecessary use of time limits creates barriers where none are required.
A subtler slip is failing to consider that time limits may be imposed by the browser or operating system, such as meta refresh redirects. These are often overlooked because they are not part of the application code, but they still fall under the criterion. Finally, teams may test only with a mouse and standard browser settings, missing issues that arise when using keyboard navigation, screen readers, or other assistive technologies. Thorough testing with diverse methods is essential to catch these problems.
5 Fixing it in your markup
The most straightforward fix is to avoid time limits altogether. If a time limit is not essential, remove it. For session timeouts, consider using a longer timeout or implementing a keep-alive mechanism that does not interrupt the user. If a time limit is necessary, provide a mechanism to adjust it before it starts. This can be done with a settings option, a checkbox, or a slider that allows users to set the duration. Ensure that this control is accessible: use native HTML form elements where possible, label them properly, and ensure they are keyboard operable. For example, a select element with options for different time lengths is simple and accessible.
If you cannot provide pre-adjustment, implement a warning before the time expires. The warning should be presented in an accessible dialog that receives focus and is announced by screen readers. Use role="alertdialog" or role="dialog" with appropriate ARIA attributes, and ensure that the dialog contains a clear message and a button to extend the time. The button should be easily activatable, such as by pressing the spacebar or enter key. The warning should appear with enough time for the user to react, at least 20 seconds according to WCAG. Allow the user to extend the time multiple times, ideally at least ten times, without requiring re-authentication or complex actions.
For time limits that are essential, such as in a timed test, ensure that the time limit is clearly communicated and that accommodations are available upon request. In markup, avoid using meta refresh for redirects; instead, use server-side or JavaScript-based timers that can be controlled. When using JavaScript, make sure the timer does not interfere with assistive technology and that any dynamic updates are announced appropriately. Always test with a keyboard and screen reader to confirm that the mechanisms work as intended.
6 Testing before you ship
Testing for Timing Adjustable should begin with a manual review of all interactive processes. Identify any time limits, whether they are explicit countdowns, session timeouts, or implicit limits like a page that refreshes after a certain period. For each, determine if it is essential and if it meets the exceptions. If not, verify that there is a way to turn it off, adjust it, or extend it. Test these mechanisms using only a keyboard to ensure they are operable without a mouse. Then, test with a screen reader to confirm that warnings and controls are announced and that focus is managed correctly. For example, when a warning dialog appears, focus should move to it, and the screen reader should read the message and the available actions.
Automated tools can help identify some time limits, such as those set with setTimeout or meta refresh, but they cannot evaluate the adequacy of the adjustment mechanism. Therefore, manual testing is crucial. Use browser developer tools to inspect timers and simulate different scenarios, such as letting a session expire to see if a warning appears. Check that the warning is visible and that the extension action works multiple times. Also, test with browser settings that might affect timing, such as reduced motion or high contrast, to ensure compatibility.
Consider testing with users who have disabilities, if possible, to gain insights into real-world usage. At a minimum, perform testing with assistive technology like screen readers and switch controls. Document any time limits and the corresponding mechanisms in your accessibility statement. Remember that conformance is not just about passing a checklist; it is about ensuring that all users can complete tasks without undue time pressure. By integrating these tests into your development workflow, you can catch issues early and avoid costly retrofits.
7 Frequently asked questions
What counts as a time limit? A time limit is any constraint that requires a user to complete an action within a certain period. This includes session timeouts, countdown timers, and even content that disappears after a set time. It does not include limits that are longer than 20 hours, as those are considered exempt. However, if a time limit is essential to the activity, such as in a live auction, it may be exempt even if shorter.
How can I make a session timeout accessible? Provide a warning before the session expires, and offer a simple way to extend it, such as a button that says "Stay logged in." Ensure the warning is announced by screen readers and that the button is keyboard accessible. Allow the user to extend the session multiple times. Alternatively, allow users to adjust the timeout duration in their account settings.
What if my time limit is essential? If you believe a time limit is essential, you must be able to justify it. Essential means that removing the time limit would fundamentally alter the nature of the activity or would be impossible. For example, a timed exam that measures speed as part of the assessment might be essential. In such cases, you should still provide accommodations upon request, such as extra time for users with disabilities.
Can I use a meta refresh to redirect users? Meta refresh is a form of time limit because it forces a change after a set time. It is generally discouraged because it can disorient users and is not easily adjustable. If you must use it, provide a way to extend or disable it, but it is better to use server-side redirects or JavaScript that can be controlled.
How do I test with a screen reader? Enable a screen reader and navigate to a page with a time limit. Trigger the warning and verify that the screen reader announces it. Check that you can reach the extension button using only the keyboard and that activating it extends the time. Repeat the process to ensure multiple extensions are possible.