Manual test of HTML5 accesskey using space as a value

There is a link, with accesskey=" ".

Expected result

There should be a shortcut based on the space bar. The link will try to open a window with the Github repo for this test, so you can update the results section :)

Play Github!

Value of the accessKey DOM attribute:

Likely failure modes


This test is on github to enable Pull Requests…

Firefox 43, MacOS 10.10.5 (based on Chromium)
Firefox provides "⌃⌥" on Mac as a value for the accessKeyLabel DOM attribute.
space-bar with modifier does not move focus nor activates the anchor - instead a system function is activated.
Vivaldi 1.0, MacOS 10.10.5 (based on Chromium)
Opera 34.0, MacOS 10.10.5 (based on Chromium)
Yandex browser 16.3, MacOS 10.10.5 (based on Chromium)
Safari 9.1, MacOS 10.10.5 (based on Chromium)
None of these browsers enables accesskey using their standard modifiers plus space bar, which instead activates a system function.
All tested user agents reflect the content of the HTML attribute in the 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 the part of the HTML5 algorithm that allowed the token(s) to be surrounded by whitespace. Browsers that do not assign an accesskey when they the attribute is a single letter surrounded by spaces almost certainly do not implement the HTML5 algorithm for processing accesskey at all.