Note: please check the HTML accesskey section if you’re not familiar with this attribute.
Element accessKey Property Syntax:
element.accessKey; element.accessKey = value;
Element accessKey Property Input Value
The value we put for this property is the name of a key on the keyboard that users can select to get the focus to the target element.
Element accessKey Property Return Value
This property will return the access-key of an element in a form of string (basically this value is a character). Or an empty string if the target element does not have any key associated with it.