Currently only getModifierState only supports Alt, Control, Shift, Meta query modifiers. Introduce support for the following query modifier fields: Accel, AltGraph, CapsLock, Fn, NumLock, OS, ScrollLock, Symbol. This leaves: FnLock, Hyper, Super, SymbolLock specified but not supported. These keys typically are not generated on modern OS and keyboards. Nor does FireFox support them.

Documentation

Specification

Specification link


Specification currently under development in a Working Group

Status in Chromium

Blink


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Last updated on 2020-11-09