The UI Events specification comes with two new properties for keyboard events: key and code. They replace the previously existing (and still existing) charCode, keyCode, and which. It’s not just easier to work with keyboard events but it also improves accessibility significantly. Manuel will introduce the new API and illustrate why and how it’s important to an international user base.
https://hacks.mozilla.org/2017/03/internationalize-your-keyboard-controls/
https://caniuse.com/#feat=keyboardevent-code
https://caniuse.com/#feat=keyboardevent-key
https://codepen.io/matuzo/pen/PmgWRm?editors=0010