How to access KeyLabel in WebKit with JavaScript?

accessKeyLabel from what I can say is not supported in Webkit (but works fine in Firefox) at the time of writing. This snippet shows what happens:

<input type="text" accesskey="D" name="dog" id="dog"> var dogInput = document.getElementById('dog'); console.log(dogInput.accessKey); // Firefox, Webkit both output: "D" console.log(dogInput.accessKeyLabel); // Firefox output: "[ACCESS MODIFIER] D" // Webkit output: undefined 

Is there any other way to get a combination of access modifier or accessKeyLabel in Webkit?

+3
source share
1 answer

This is not an implemented function (known bug) in WebKit:
https://bugs.webkit.org/show_bug.cgi?id=72715

0
source

All Articles