Built for the Kiroween 2026 hackathon, Skeleton Crew category. #KiroweenHackathon26

Most web apps assume you can use a mouse or a touchscreen. Many people can't. W3C's Web Accessibility Initiative lists what people with physical disabilities use instead: head pointers, switches "operated by foot, shoulder, sip-and-puff, or other movements", and other hands-free approaches. It also lists the barriers they hit, such as time limits and missing keyboard support (WAI: Physical).

Planchette Kit is my attempt to make hands-free input something any web developer can add to their own app, and test before a single person is asked to try it.

Up front: it is not a medical device, not a replacement for an AAC system assessed by a speech-language therapist, and not yet tested with real users.

The Board: a message bar, a colour-coded grid of core words, and buttons for Speak, Undo and Spell

The theme is the function

A planchette is the pointer on an Ouija board. It rests on a letter, and that letter is chosen. That is exactly how dwell selection works: point at a target, hold still, and it is selected. So the Halloween theme isn't decoration. It is the input method.

One skeleton, two apps

skeleton/ is a framework-free TypeScript template. Behind one input interface it provides:

  • head pointing with dwell selection (MediaPipe Face Landmarker, running in the browser);
  • a face-gesture switch: point with your head, then open your mouth (or raise your brows) to select;
  • single-switch scanning: a highlight steps through the targets and one press selects; no camera needed;
  • a mouse fallback for a carer, and a calibration profile.

Adding it to a page is about 15 lines (skeleton/examples/minimal.ts):

import { createPlanchette } from '@planchette/skeleton'; const screen = () => ({ width: window.innerWidth, height: window.innerHeight }); const planchette = createPlanchette({ screen: screen(), profile: { mode: 'head + dwell' } }); for (const id of ['yes', 'no']) { const { x, y, width, height } = document.getElementById(id)!.getBoundingClientRect(); planchette.registerTarget(id, { x, y, width, height }); } planchette.addEventListener('select', (event) => { document.getElementById('said')!.textContent = event.detail.targetId; }); window.addEventListener('resize', () => planchette.setScreen(screen())); void planchette.startCamera(); 

Two very different apps run on it:

  • The Board, a calm communication board: a fixed core-word grid coloured by part of speech (after the Modified Fitzgerald Key used on AAC boards), spelling, quick phrases, Undo and spoken output.
  • Séance, a Halloween head-pointer practice game: a spirit spells a message on an Ouija-style board and you select each letter, then follow a moving planchette.

Séance: a dark board with the letters A to Z, YES, NO and GOODBYE

Everything runs on the device. MediaPipe's WASM and model are served from the site itself, the library is pinned because later versions send usage statistics, and a test fails if a network call appears. No accounts, no analytics, no server code.

The real problem: accidental selections

Dwell has a nasty failure mode. It selects whatever the pointer rests on, including the word you are only reading. On a communication board, a wrong selection isn't a typo. It is words you didn't mean.

Head trackers that drive a cursor already exist (Project Gameface, Camera Mouse, the head tracking built into operating systems). The input layer is not the new part. The new part is for the app developer: a way to measure accidental selections on your layout before anyone uses it.

A simulator that drives the real engine

tools/dwell-sim-mcp drives the kit's real dwell engine with six simulated users built from published group averages: steady, slow, head-tremor, strong-head-tremor, small-range and reads-while-pointing (who pauses on targets while reading them). It reports accidental selections per 100 intended.

That only works because of one rule, which lives in a Kiro steering file: engines never read the clock, the DOM or the camera; time is passed in. Deterministic engines mean the simulator and the property tests can drive exactly the code that ships.

Then I set a gate: at most 10 accidental selections per 100 intended, on every layout, for the worst of seeds 1 to 10.

The finding: my default was wrong

The kit's dwell time started at 1400 ms. The reads-while-pointing user made 52.1, 50.6, 58.6 and 57.6 accidental selections per 100 on the Board's four layouts. Every layout failed.

Dwell time reads-while-pointing, accidental selections per 100 Gate (at most 10)
1400 ms 50.6 to 58.6 across the four layouts (seed 1) fail
2000 ms worst 12.7 (seeds 1 to 10) fail
2100 ms worst 9.2 (seeds 1 to 10) pass

2100 ms is the smallest tested value that passes. Séance passes the same gate at 2100 ms (worst 8). The other five users stay low at both settings; slower selection is the cost, about 700 ms more per selection.

These are models, not people. But it is a number chosen from evidence instead of a guess, and anyone can rerun it.

Building it with Kiro

Kiro was used from the first commit. Every piece is in the repo under .kiro/.

Specs (6). input-core, board, seance, dwell-sim-mcp, power and polish, each with requirements, design and tasks. Reviewing the input-core spec added a requirement before any code existed: what happens when the camera is refused, fails to load, or sees no face. It became three distinct failures, each with a plain-language message and an offer of scanning or the mouse, and end-to-end tests run the apps with the camera refused.

Steering (5). Besides "time is passed in", the accessibility steering holds the honesty rules: no real-user claims, and say what it is not.

Property-based tests. fast-check properties on every engine. They found real bugs. One: the head pointer's gesture-freeze position was not clamped when the screen shrank (counterexample: a 1 x 2 screen shrinking to 1 x 1 during a brow-raise freeze).

Hooks (3). On save, typecheck the simulator and run only the related tests. A seed sweep became a manual hook because I kept running it by hand before every commit. A third rebuilds the power's bundled server.

MCP. The simulator is a workspace MCP server with three tools: list_users, simulate and compare.

The Kiro power: "check my layout for accidental selections"

power-planchette/ packages the simulator and three skills: build-on-the-skeleton, check-dwell-layout and compare-dwell-settings. In any Kiro project, ask "check my layout for accidental selections" and Kiro exports the page's targets, runs the six users over ten seeds and applies the gate. This is the power that rejected my own 1400 ms default.

To install it in Kiro IDE: Powers panel, Add Custom Power, "Import power from a repository URL", and paste:

https://github.com/4KInc/planchette-kit/tree/main/power-planchette 

It needs Node.js 20 or later on your PATH. The simulator ships inside the power as one file, so there is nothing to build.

A custom agent, run headless with the Kiro CLI

I also wanted the gate to run without me. .kiro/agents/layout-checker is a read-only custom agent: it can read files and call the dwell-sim tools, with no write or shell tool.

The first headless run tried all 12 layouts in one request and stopped honestly: INCOMPLETE after 2 of 120 seed runs, because each simulate call carries the whole layout and the context ran out. It didn't guess the rest.

The fix was a small loop script that runs the agent once per layout:

npm run kiro:check-layouts 

All 12 runs exited 0 with LAYOUT PASS, worst 9.2 (Board spell layout at 1920 x 1080, seed 10), in about 18 minutes. All 100 Board and Séance seed values matched the committed gate results exactly. The full record is in docs/kiro-cli-run.md.

Try it without a camera

Open the Board, choose Mouse and click words, or choose Switch scanning and press Space to select the highlighted word. With a webcam, choose Head + dwell and hold still on a word until the ring fills.

Honest limits

  • No testing with real users who have motor impairments yet.
  • The face-gesture switch hasn't been tested across lighting conditions and cameras, and long-session fatigue hasn't been tested.
  • Séance's moving-target Follow rounds are outside the simulator gate.
  • The Board and Séance scroll sideways in narrow windows (WCAG 1.4.10 Reflow not met).

What's next

Testing with real users, with their consent and with therapists involved. Reflow at narrow widths. More layouts checked by the power.

What I'd like other developers to take from this: if your app will be used with dwell, measure accidental selections before you pick a dwell time. The simulator and the power are MIT-licensed. Try them on your own layout.

Planchette Kit: https://github.com/4KInc/planchette-kit #KiroweenHackathon26