How to get accessKeyLabel in WebKit with JavaScript? [duplicate]
Asked Answered
O

1

3

accessKeyLabel from what I can tell 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 another way of getting the access modifier combination or accessKeyLabel in Webkit?

Oncoming answered 18/5, 2013 at 10:39 Comment(1)
This attribute hasn't been landed to webkit. Please refer "bugs.webkit.org/show_bug.cgi?id=72715".Jacalynjacamar
C
0

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

Cutaneous answered 29/12, 2013 at 15:47 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.