AccessKey Test

This page includes three buttons, each with an accesskey assigned, X for the first button, Y for the second button, and Z for the third button. (Javascript is required). Each button triggers a Javascript alert box. The first button is coded in the HTML with an accesskey. The second button is coded in the HTML, but its accesskey is set by Javascript following the onload event. Thhe third button is created entirely by Javascript. This question I'm exploring is whether dynamically-assigned accesskey values (and elements with accesskey values) are supported by browsers.

To find out how accesskeys are used in your browser, check out the Wikipedia AccessKey page. For more information about this test see the related blog post.

Results