The accessible interface standard for humans & agents.
Turn inaccessible websites into inclusive experiences. A11yControl delivers 13 WCAG 2.1 AA/AAA assistive instruments, on-demand text-to-speech with live streaming karaoke, and an agent-ready DOM protocol with an initial footprint under 10 kB.
// Quick Preview Instruments
// 01. Capabilities
13 Calibrated Assistive Instruments
Engineered to satisfy WCAG 2.1 AA and AAA criteria. Click any instrument card to toggle it in real time on this document.
🧩
100% Modular & Customizable: Don't need all 13 features? Use the features="..." attribute to whitelist only what you need, or exclude="..." to disable specific options (e.g. exclude="darkMode" if your site already has its own theme switcher).
🔡1.4.4 AA
Font Size Scaler
Scales document typography from 80% to 200% in 10% increments with dynamic screen reader live announcements.
🎙️WCAG 1.2.1
Text-to-Speech + Karaoke
On-demand lazy-loaded Web Speech API integration with voice console, rate selection, language cascade, and live streaming karaoke.
📐1.4.12 AA
Text Spacing
Increases line height (1.6), letter spacing (0.12em), and word spacing (0.16em) to assist low vision and dyslexia.
📏1.4.8 AAA
Align Left (Unjustify)
Eliminates text justification and automatic hyphenation to remove distracting white rivers for cognitive focus.
🎯Motor / Vision
High-Contrast Cursor
Universal 32x32px black pointer with crisp white border ensuring continuous visibility on all backgrounds.
🔲Cognitive Focus
Reading Mask
Dims the page with a clear focal horizontal slit following the mouse or touch to eliminate sensory clutter.
➖1.4.8 AAA
Reading Guide
A high-visibility horizontal ruler tracking the pointer to maintain vertical position while reading dense text.
🔤Cognitive
OpenDyslexic Font
Applies a resilient dyslexia-optimized font stack ('OpenDyslexic', 'Comic Sans MS', 'Lexend', Arial) without external network requests (100% CSP safe).
🌓1.4.6 AAA
High Contrast Filter
Boosts document luminance contrast ratio and sharpens media elements for users with severe visual impairments.
⚪1.4.1 Use of Color
Monochrome / Grayscale
Eliminates color dependence to verify information hierarchy and assist users with monochromatic vision.
🔗2.4.7 Focus Visible
Highlight Links
Applies high-visibility underlines and contrasting badge halos to interactive anchors across the page.
⚡2.3.3 AAA
Reduce Motion
Disables CSS transitions, parallax transforms, and video autoplay for vestibular disorders and motion sickness.
🌙Photophobia
Dark Mode Theme
Converts document background to deep slate while protecting typography contrast and preserving photo fidelity.
// 02. Reading Lounge
Interactive Verification Playground
Test text-to-speech selection, multilingual speech recognition, text spacing, and contrast filters on realistic content.
Assistive Technology & Modern Frontends
Highlight this sentence to test Speech Karaoke:
When Text-to-Speech is enabled, selecting any phrase summons a non-intrusive "Listen" action bubble. Clicking it begins reading aloud with a synchronized streaming karaoke dock!
Multilingual Detection Test:
Surlignez ce passage balisé en français :
« L'accessibilité numérique garantit l'équité d'accès aux technologies pour chaque individu, sans barrière physique ou cognitive. »
— Le moteur détecte automatiquement l'attribut lang="fr" et sélectionne la voix adéquate !
This paragraph has justified alignment. Observe how activating "Align Left" removes rigid justification and irregular whitespace, easing cognitive tracking. Simultaneously, "Text Spacing" expands line height and letter kerning without breaking layout containers.
// 03. Studio Telemetry
JavaScript API & Live Event Bus
Inspect programmatic hooks, trigger audits, and observe composed custom events passing through the Shadow DOM boundary.
Drop the CDN script, install via npm, or configure modular feature gating. Full TypeScript definitions and AI Agent manifests included.
<!-- Option A: Zero-Code Auto-Mount in 1 line (Shopify, WordPress, Webflow, HTML) -->
<script type="module" src="https://cdn.jsdelivr.net/npm/a11y-control" data-auto-mount></script>
<!-- Option B: Standard Custom Element tag -->
<script type="module" src="https://cdn.jsdelivr.net/npm/a11y-control"></script>
<a11y-control lang="en" position="bottom-right"></a11y-control>
# Install via package manager
npm install a11y-control
// In your React, Vue, Svelte, or Vite entry point
import 'a11y-control';
// Or programmatically with the init helper:
import { initA11yControl } from 'a11y-control';
initA11yControl({ position: 'bottom-right', lang: 'en' });
// Or import the class directly for TypeScript / subclassing:
import { A11yControl } from 'a11y-control';