Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A keyboard navigation horror game that tricks players around common accessibility mistakes, built with Jekyll.
Hocus :focus is a free, open-source keyboard accessibility horror game built with Jekyll that challenges players through eight levels of common keyboard accessibility mistakes.
Hocus :focus is a browser-based game created by front-end developer @HTeuMeuLeu in October 2021. It takes no input from the player beyond keyboard navigation and outputs a series of levels that demonstrate how poor focus management and missing accessibility features can trap keyboard-only users. The game runs entirely in the browser and is built as a Jekyll static site, so it can be served from any static hosting platform.
bundle exec jekyll serve after installing Ruby and Bundler.Hocus :focus is aimed at front-end developers, web designers, and accessibility auditors who want to experience and understand common keyboard navigation failures firsthand. It is also useful for educators teaching web accessibility who need a memorable, interactive example.
To run the game locally, clone the repository, install Jekyll with gem install bundler jekyll, then start a local server with bundle exec jekyll serve. The game is available at http://localhost:4000; use the --incremental flag for faster regeneration during development.
Hocus :focus is completely free. The source code is published on GitHub under the MIT License, so you can play and reuse it without cost.
There are 8 levels, each designed to trick players around a specific keyboard accessibility mistake.
Yes, almost the entire game works without JavaScript. Only level 7 requires JavaScript to function.
Clone the repository, install Jekyll (requires Ruby and Bundler), then run bundle exec jekyll serve and open http://localhost:4000.
Yes, it is free and open source under the MIT License.
Each page makes only 3 requests (HTML, CSS, JS) and weighs around 10 Kb, or 4 Kb gzipped. Internal pages are even lighter, about 3 Kb (1 Kb gzipped).
