Skip to main content
Open Bench Mode
25,000 Thread Buttons
Engineering · 2026-09-24 · 5 min read

Building Accessible DOM Reels and Soft Analog Web Audio Without Bloat

By Marc-Antoine Lavoie, Systems Lead

How our DOM/CSS rAF cabinet supports keyboard controls, screen-reader announcements, reduced motion, and zero-download procedural synth sound.

Canvas-only web games often look sleek while leaving keyboard users and screen readers staring at an opaque rectangle. For Nipissing Pike, we engineered our reel cabinet on semantic HTML grid cells orchestrated by requestAnimationFrame and hardware-accelerated CSS transitions.

Each settled cell updates clean ARIA labels and an unobtrusive polite live region, so assistive technology announces spin outcomes, bonus triggers, and Thread Button totals without hijacking focus. Keyboard visitors can tap Space on any loom bench to trigger a spin, adjust stakes via accessible buttons, and dismiss Paytable or Cookie dialogs cleanly with Escape.

Audio follows the same lightweight craftsmanship. Rather than shipping megabytes of recycled sound files, our PikeAudioSynth class synthesizes gentle analog sine and triangle tones in real time through the browser Web Audio API—soft mechanical reel clicks, warm marimba-like win intervals, and subtle brass chords on feature hits. One toggle in the top utility bar mutes or restores audio globally, persisting cleanly to npk_audio_pref.

Finally, both OS-level prefers-reduced-motion and our Member Desk Reduced Motion switch instantly swap sweeping reel blur for crisp fade-in settles, keeping Nipissing Pike comfortable for every visitor.

More from the Loom Ledger