devxlogo

Add Keyboard Shortcuts to Your Web Page

Add Keyboard Shortcuts to Your Web Page

With HTML 4.0, you can add keyboard shortcuts to your Web page. To achieve this, you place the ACCESSKEY attribute inside the form element tag. It is advisable to add text information about the shortcut so that the user is aware of the shortcut key to use. In this example, ALT + M can be used to access the radio button. Remember not to override the browser shortcuts with the keyboard shortcuts you introduce.

 My Option (ALT + M to select this)

devx-admin

Share the Post: