devxlogo

Associate a Label and Shortcut Key With a Text Box

Associate a Label and Shortcut Key With a Text Box

We can associate a shortcut key to give focus to an tag as follows:

 

The letter “N” will be underlined, which gives a visual cue that N is the access key.

Browsers that don’t support Accesskey will just ignore it.

devx-admin

Share the Post: