A presentation at ViennaJS in in Vienna, Austria by Manuel Matuzovic
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.
The following resources were mentioned during the presentation or are useful additional information.
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
https://www.meetup.com/de-DE/webclerks/