Some KeyboardEvent.key values have been deprecated

Published: | Categories: DOM

Description

Some of KeyboardEvent.key values are now considered deprecated and warned in the Web Console prior to the change in Firefox 34 to comply with the latest DOM3 spec. Those include Down, Left, Right, Up, Crsel, Del, Exsel, Menu, Esc, Nonconvert, HalfWidth, RomanCharacters, FullWidth, SelectMedia, MediaNextTrack, MediaPreviousTrack, Red, Green, Yellow, Blue, Live, Apps, FastFwd, Zoom and DeadKeys. Check out the KeyboardEvent.key document for the complete list of key values.

Update: Those deprecated key values have been removed with Firefox 37.

References