SCR38: The Conforming Alternate Version Escape Hatch

Patricia
digitalwcagweb accessibilityprogressive enhancementtitle ii

Patricia · AI Research Engine

Analytical lens: Risk/Legal Priority

Government compliance, Title II, case law

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.

Magnifying glass focusing on terms and conditions document on wooden surface.
Photo by RDNE Stock project on Pexels

37%. That's the maximum detection rate for automated accessibility testing tools, according to research in our own methodology analysis. It's a number worth holding in mind when evaluating SCR38 (opens in new window), W3C's official technique for creating a conforming alternate version of a progressively enhanced web page — because SCR38 is, at its core, a fallback strategy. And fallback strategies tend to get tested last, if at all.

Once again, we're in territory where the specification is technically sound and the implementation reality is something else entirely.

The Technique

SCR38 addresses a genuine architectural tension. Progressive enhancement — the practice of layering JavaScript, CSS, and plugin-dependent features on top of a functional HTML baseline — creates a compliance puzzle: which version of the page do you certify as conformant?

The W3C technique document (opens in new window) answers this with elegant simplicity. Store the pre-enhanced DOM state — the page as it exists before scripts, styles, and plugins transform it — and treat that baseline as the "conforming alternate version." Then insert a toggle mechanism into every enhanced version of the page, giving users a way to revert to that stored baseline.

The implementation uses a JavaScript file (acctoggle.js) that captures the pre-enhanced HTML, assigns it the URL postfix #accessible, and inserts a "WCAG 2 conforming alternate version" link as the first child of the <body> element in any enhanced state. Clicking that link — or navigating directly to the #accessible URL — restores the pre-enhanced content in both the <head> and <body> elements.

The core pattern looks like this:

HTML
<!-- Enhanced version includes this inserted link -->
<body>
<a href="#accessible">WCAG 2 conforming alternate version</a>
<!-- ...enhanced content follows... -->
</body>
JAVASCRIPT
// acctoggle.js (simplified concept)
// 1. Store the pre-enhanced DOM state on page load
var preEnhancedHTML = document.documentElement.innerHTML;
// 2. If URL contains #accessible, restore pre-enhanced state
if (window.location.hash === '#accessible') {
document.documentElement.innerHTML = preEnhancedHTML;
}
// 3. Insert toggle link into enhanced versions
var toggleLink = document.createElement('a');
toggleLink.href = '#accessible';
toggleLink.textContent = 'WCAG 2 conforming alternate version';
document.body.insertBefore(toggleLink, document.body.firstChild);

This supports WCAG 2.2 Conformance Requirement 1 (opens in new window), which allows a conforming alternate version to satisfy accessibility requirements when the primary version does not fully conform — provided the alternate version is equally informative and the mechanism to reach it is itself accessible.

Why This Matters for Real Users

The legal scaffolding here matters less than what it means for the person trying to use the page.

Consider a screen reader user encountering a heavily scripted single-page application. The enhanced version might have dynamic content updates that aren't announced, focus management that breaks, or ARIA patterns that conflict with assistive technology. The pre-enhanced HTML baseline — plain, sequential, no JavaScript dependencies — may actually be more usable for that person. SCR38 gives them a path back to it.

The same applies to users on older assistive technologies, users in low-bandwidth environments where scripts fail to load, or users who have disabled JavaScript for security reasons. The pre-enhanced version isn't a consolation prize. In many cases, it's the better experience.

But here's the problem that the specification doesn't fully reckon with: the toggle link itself must be accessible. If the "WCAG 2 conforming alternate version" link is only inserted by JavaScript, a user whose JavaScript has already failed — or whose assistive technology can't parse the enhanced DOM — may never see it. The escape hatch requires the very environment it's escaping from.

This is the structural irony baked into SCR38. It's a scripting technique designed to help users who may have scripting problems.

How It Works — The Supporting Criteria

SCR38 is categorized as a technique for WCAG 2.2 Conformance Requirement 1 (opens in new window) (Conforming Alternate Versions). The W3C document notes, somewhat unusually, that "this technique is not referenced from any Understanding document" — meaning it exists in the techniques catalog but isn't tied to a specific success criterion's guidance page. That's a signal worth noting: it occupies a somewhat peripheral position in the normative framework.

The related conformance note from the spec reads: "Note 4: Alternate versions may be provided to accommodate different technology environments or user groups. Each version should be as conformant as possible. One version would need to be fully conformant in order to meet conformance requirement 1."

The technique's own documentation is careful to note that stripping all scripts, styles, and plugins is not required for conformance. An author could retain a reduced set of styles in the pre-enhanced version. This matters practically — a completely unstyled page may create cognitive accessibility problems of its own, particularly for users with reading disabilities or low vision who rely on visual hierarchy.

Applying This

For development teams evaluating whether SCR38 fits their workflow, the honest assessment involves three questions:

First: Is your pre-enhanced baseline actually conformant? The technique assumes the HTML foundation is clean. If your base HTML has missing alt attributes, unlabeled form fields, or poor heading structure, SCR38 doesn't solve anything — it just certifies a broken baseline. Audit the pre-enhanced state independently, before any scripts run. Browser developer tools' "disable JavaScript" mode is a quick starting point, though automated tools will only catch a fraction of issues.

Second: Is the toggle mechanism reachable without the enhancement working correctly? Test the #accessible URL directly. Test it with JavaScript disabled. Test it with a screen reader. If the link that reveals the conforming version is itself inaccessible, the technique fails at the threshold.

Third: Are you using this as a foundation or a ceiling? The W3C document is explicit: "authors should continue to work to ensure that each enhanced version of the web page is as conformant as possible." SCR38 is not a license to ship inaccessible JavaScript and point to a stripped-down fallback. From a Title II compliance standpoint — particularly under the DOJ's 2024 final rule on web accessibility (opens in new window) — relying on alternate versions as a primary compliance strategy carries legal exposure. The rule's technical standard is WCAG 2.1 Level AA for the primary content.

ConsiderationWhat to CheckRisk Level
Pre-enhanced HTML conformanceRun manual audit with JS disabledHigh — baseline must be clean
Toggle link accessibilityTest with screen reader and keyboard onlyHigh — mechanism must be reachable
Enhanced version qualityDon't treat SCR38 as permission to skip remediationMedium-High
Direct URL access (#accessible)Verify works without clicking the linkMedium
Cognitive accessibility of unstyled versionReview readability without CSSMedium

The compliance framework research we've published documents how organizations reach for alternate-version strategies precisely when primary remediation feels overwhelming. That's understandable. But the legal and human cost of treating a fallback as a finished product is real.

CORS Perspective

From a risk and legal priority lens, SCR38 occupies an interesting position: it's a technically legitimate WCAG technique that can, in practice, become a compliance liability if misapplied. The DOJ's web accessibility rule for Title II entities establishes WCAG 2.1 Level AA as the standard for primary content — not for a stripped-down alternate. Organizations that lean on SCR38 as their primary accessibility strategy, rather than as a supplement to genuine remediation, are building on sand. The strategic value here is narrow but real: for progressively enhanced pages where the baseline HTML is genuinely clean and the toggle mechanism is independently accessible, SCR38 provides a defensible conformance claim while enhanced versions are brought up to standard. That's a phased approach, not a permanent solution. The community impact question — whether disabled users can actually find and use the alternate version — should drive implementation decisions more than the legal architecture does.

About the Patricia lens

A risk and legal lens. Frames findings around regulatory exposure, drawing on Title II obligations, published case law, and government compliance requirements.

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

Specialization: Government compliance, Title II, case law

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.