accesskey
repeating the key for two elementsThere are two links, each with accesskey="a"
. The first link is to the github repository for this test, the second is to the rendered "github.io" version of the test.
@@
Value of the accessKey DOM attribute:
Value of the accessKey DOM attribute:
accesskey
, but not the HTML5 version, only a shortcut based on "a" will work.This test is on github to enable Pull Requests…
accesskey
valueaccesskey
value.accessKeyLabel
DOM attribute.accessKey
The accesskey
attribute was first defined in HTML 4, and an improved version was redefined in HTML5
This is a basic test of whether browsers implement part of the HTML5 algorithm. For users who do not have the key "available" but for whom the "g" key is "available", the shortcut should be based on "g".
Unfortunately the HTML 5 specification does not define what "available" means. At the very least, it should be simple for the user to generate such a key, and using the HTML5 definition which requires the user agent to assign modifiers, "available" should mean it must not require any modifiers to generate the base key.