accesskey
using two latin charactersThere is a link, with accesskey="a g"
.
For users who have an "a" key on their keyboard, there should be a standard key based on "a" plus modifiers, that either activates or focuses the link. For users who do not have an "a" key available, the shortcut should be based on "g". The link will try to open a window with the Github repo for this test, so you can update the results section :)
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…
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. Browsers that do not assign an accesskey
when they meet an attribute that is a space-separated list of single characters almost certainly do not implement the HTML5 algorithm for processing accesskey
at all.
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.