SCR1: Letting Users Extend Time Limits

David
digitalwcagclient side scriptingtimingcognitive accessibilityhigher ed

David · AI Research Engine

Analytical lens: Balanced

Higher education, transit, historic buildings

AI-assisted · Source-linked · Editorially reviewed · Methodology

Trust note

This article was drafted with AI assistance, reviewed against accessibility.chat editorial standards, and should be treated as research and education rather than legal advice. We prioritize primary sources and correct material errors.

A detailed view of colorful source code displayed on a computer screen, representing modern programming and technology.
Photo by Markus Spiske on Pexels

For most users, a session timeout is a minor inconvenience. For users with motor disabilities, cognitive differences, or slow processing speed, it can mean losing 20 minutes of carefully entered data — or being locked out of a service they had every right to use. WCAG Technique SCR1 (opens in new window) addresses this gap directly: give users a mechanism to extend the time limit before it expires.

This is not a peripheral accessibility concern. Time limits are everywhere — banking sessions, government forms, online exams, e-commerce checkouts, chess clocks. When those limits are set without user control, they systematically disadvantage people who simply need more time to complete tasks.

The Technique

SCR1 is a WCAG 2.2 client-side scripting technique (opens in new window) that satisfies Success Criterion 2.2.1: Timing Adjustable (opens in new window) — when used together with SCR16, which handles the warning notification itself.

The mechanism is straightforward: when a script controls a time limit, it must also provide a way for the user to extend that limit. The extension must reach at least 10 times the default. A page that times out after 5 minutes must allow users to extend to at least 50 minutes. That threshold isn't arbitrary — it reflects the real range of time differences between users with and without disabilities on complex tasks.

The W3C source material gives two concrete examples worth examining closely. First: a stock market page that auto-refreshes. When the first refresh is imminent, the user gets a warning and an option to extend the interval. Second: an online chess game with per-move time limits. As the clock runs down, the player can request additional time. Both scenarios share the same architecture — a warning precedes the limit expiration, and that warning contains the extension mechanism.

This sequencing matters. The extension offer is useless if it arrives after the timeout has already fired.

Why This Matters

SC 2.2.1 exists because time pressure creates unequal access. Consider who gets hurt when time limits have no adjustment mechanism:

  • Users with motor disabilities using switch access or eye-tracking input at speeds far below keyboard/mouse norms
  • Users with cognitive disabilities who need additional time to read, process, and respond to prompts
  • Users with anxiety disorders for whom countdown timers create compounding cognitive load
  • Screen reader users navigating complex forms linearly, where visual users can scan and jump
  • Users on slow connections in rural or low-income settings where page interactions take longer

The failure mode is concrete: a user reaches the warning dialog, begins reading it with their screen reader, and the session expires before they can activate the extension button. The warning itself becomes a barrier.

This is why the technique requires that the extension be offered before expiration, with sufficient lead time for the user to actually respond. A warning that fires 10 seconds before timeout, for a user navigating by switch access, is functionally no warning at all.

How It Works

The pattern pairs a warning mechanism (SCR16) with an extension form or dialog. Here is the core pattern from the W3C source material, adapted for clarity:

JAVASCRIPT
// Step 1: Set the default time limit
const DEFAULT_TIMEOUT_MS = 5 * 60 * 1000; // 5 minutes
const WARNING_BEFORE_MS = 60 * 1000; // warn 1 minute before
const MIN_EXTENSION_MULTIPLE = 10; // must allow 10x extension
let sessionTimer;
let warningTimer;
function startSession() {
// Fire warning before timeout
warningTimer = setTimeout(showExtensionWarning, DEFAULT_TIMEOUT_MS - WARNING_BEFORE_MS);
sessionTimer = setTimeout(endSession, DEFAULT_TIMEOUT_MS);
}
function showExtensionWarning() {
// Present dialog with extension option
// Dialog must be keyboard accessible and announced to screen readers
const dialog = document.getElementById('timeout-warning');
dialog.removeAttribute('hidden');
dialog.setAttribute('aria-live', 'assertive'); // or use role="alertdialog"
document.getElementById('extend-btn').focus();
}
function extendSession(additionalMinutes) {
// Validate: extension must reach at least 10x the default
clearTimeout(sessionTimer);
clearTimeout(warningTimer);
const newTimeout = additionalMinutes * 60 * 1000;
sessionTimer = setTimeout(endSession, newTimeout);
warningTimer = setTimeout(showExtensionWarning, newTimeout - WARNING_BEFORE_MS);
}
HTML
<!-- Warning dialog — must be keyboard operable and screen reader accessible -->
<div id="timeout-warning" role="alertdialog" aria-modal="true"
aria-labelledby="warning-title" aria-describedby="warning-desc" hidden>
<h2 id="warning-title">Your session is about to expire</h2>
<p id="warning-desc">
Your session will end in 1 minute. You can extend your session below.
</p>
<label for="extend-time">Extend session by (minutes):</label>
<input type="number" id="extend-time" min="1" value="50" />
<button id="extend-btn" onclick="extendSession(document.getElementById('extend-time').value)">
Extend Session
</button>
</div>

Two implementation details are non-negotiable here. The dialog needs role="alertdialog" so screen readers announce it immediately and treat it as a modal interaction. And focus must move to the dialog — ideally to the primary action button — so keyboard users are not left hunting for the prompt while the clock runs.

Applying This

Teams often implement timeout warnings and miss the accessibility requirements entirely. Here is where the failures concentrate:

In code review, check for:

  • Does the warning fire with enough lead time for slow input users? (30 seconds is rarely enough; 2–5 minutes is more defensible)
  • Does the dialog receive focus automatically?
  • Is role="alertdialog" or aria-live="assertive" present?
  • Is the extension ceiling at least 10x the default, or can users extend repeatedly to reach that threshold?
  • Does the extension mechanism itself work without a mouse?

In automated testing, tools can flag missing ARIA roles and unlabeled inputs in the dialog, but they cannot verify that focus moves correctly or that the warning fires with sufficient lead time. This is a case where automated testing reaches its structural limits — the logic governing when the warning fires requires manual review and real-user testing.

Quick wins: If a timeout dialog already exists but lacks keyboard focus management, adding dialog.focus() or focusing the primary button is a one-line fix with immediate impact. Adding role="alertdialog" is similarly low-effort.

Longer-term: Review the default time limits themselves. Many are set to application defaults (15 minutes, 30 minutes) without any analysis of actual task completion time for users with disabilities. A usability study with disabled users on your most complex forms will reveal whether the default is reasonable at all — before the extension mechanism even becomes relevant.

For organizations managing multiple standards simultaneously, note that SC 2.2.1 appears across WCAG 2.1, WCAG 2.2, and Section 508 (which incorporates WCAG 2.0 Level AA). The compliance framework challenges this creates are real, but on this particular criterion the requirements are consistent across versions — implement SCR1 correctly and you satisfy it across all three frameworks.

CORS Perspective

Through a balanced CORS lens, SCR1 sits at the intersection of all four pillars. Community impact is direct — users with motor, cognitive, and sensory disabilities are the primary population harmed by inflexible time limits, and they rarely have a feedback channel to report timeout failures until litigation or complaint forces the issue. Operationally, this is a medium-complexity fix: the JavaScript pattern is well-documented, but correct ARIA implementation and focus management require developer skill that not every team has in-house. The risk dimension is clear — SC 2.2.1 is a Level A requirement, meaning it represents a baseline obligation under 28 CFR Part 36 (opens in new window) for covered entities, not an enhancement. Strategically, time limit controls are a visible, testable, and fixable accessibility gap — the kind of concrete win that builds organizational momentum toward broader accessibility maturity without requiring a full platform redesign.

About the David lens

A balanced lens that weighs competing considerations before recommending. Applied to higher education, transit, and historic-building access questions.

David is an AI analyst lens, not a human staff member. It helps frame this article through a consistent accessibility perspective.

Specialization: Higher education, transit, historic buildings

View all articles using this lens →

Transparency Disclosure

This article was drafted with AI assistance and reviewed against our editorial methodology. We disclose that process so readers can judge the work clearly.