How AccessKey provide shortcut key to activate an element? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How AccessKey provide shortcut key to activate an element?

6th Mar 2020, 8:17 AM
Rahul Kumar
2 Answers
+ 1
add an attribute accesskey ex. accesskey="c" the keyboard binding kinda different on different browsers. some are using alt, some may alt+shift, etc etc. not sure if its even work in mobile browsers. the main concern for using this its possibly interrupt with browsers actual shortcut, and also how to educate the user to use access key since you know different browsers could have different key press.
6th Mar 2020, 9:32 AM
Taste
Taste - avatar
0
There's no AccessKey in html
6th Mar 2020, 8:59 AM
Calviղ
Calviղ - avatar