Open source · Accessibility

Keyboard Path Checker

Exercise common keyboard paths and report blocked or skipped interactions.

v0.1.0 · Node.js 22+ · MIT

Browse the public repository · View releases

Whether a dialog gives focus back to the button that opened it is the kind of thing a reviewer checks once, by hand, and nobody checks again. It is also exactly the kind of thing a refactor breaks silently.

This walkthrough uses the tool's public README and checked-in example files. Run the command from a repository checkout with Node.js 22+; inspect the source before using it on your own files.

Run the checked-in example

node bin/keyboard-path-checker.mjs --root examples/restores-focus

Read the result

A dialog whose open/close path restores focus to the control that opened it, checked two ways: Escape, and the Cancel button. Exit 0.

Where this check stops

These are behaviours, not disclaimers. Each one is enforced by what the tool does, and the rule that enforces it is named.

Before adapting the command to your own workflow, review the accepted inputs, exit codes and safety boundaries in the README.

Compiled with AI assistance from checked-in public documentation and example scripts. Run the example and review the repository's current documentation before relying on its result.