Skip to content


Repository files navigation

Keyboard Map

Draft specification for an API that returns a mapping table from KeyboardEvent.code values into strings that can be shown to the user to identify that physical key.


A high level overview of this API (including motivation and examples) can be found in the Explainer.

Code of conduct

We are committed to providing a friendly, safe and welcoming environment for all. Please read and respect the W3C Code of Ethics and Professional Conduct.


See the UI Events KeyboardEvent code Values specification for background on KeyboardEvent.code.