Dojo Dijit and HTML5 in Real world applications/Dojo/dojo.keys

How to detect use of special keys in Dojo
Below you will find example use of the dojo.keys. Often you would like to use special keyboard keys to control the user interface.

Use the ENTER key to move between fields
In the login screen example below ENTER is used to move form the username field to the password field. In the password field ENTER is used to submit the form (if the dijit.form.Form.validate returns true).

Html5 inplementation: Real world example may be found here TBD.

Verified in
IE 8, IE9 Firefox 3.6.22, Firefox 10 Dojo 1.6.1