FLUID-6492: Re-implement keyboard-a11y plugin to use "key" or "code" instead of "keyCode"

Metadata

Source
FLUID-6492
Type
Improvement
Priority
Major
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Justin Obara
Created
2020-04-16T10:10:48.258-0400
Updated
2021-07-29T01:53:56.915-0400
Versions
N/A
Fixed Versions
  1. 5.0
Component
  1. Keyboard Accessibility

Description

The keyCode, charCode, and which properties of the keyboard event are deprecated. We should be using "key" or "code" instead. The values for "key" and "code" are human readable and allow for removing the use of jQuery UI's $.ui.keyCode.<key name> constants.

See: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/KeyboardEvent