You can add keyboard shortcuts to your page through HTML with the global accesskey attribute and trigger it with Alt + Shift + key in Chrome and Firefox on Windows, or use Control + Alt + key on Mac.
Can websites have keyboard shortcuts?
Nearly every web browser out there shares a common set of keyboard shortcuts, and as a result, it's easy for users to switch over and between browsers. There are plenty of keyboard shortcuts unique to each browser, but here I'll show you the shortcuts that can be used in all of them.
How do I add more keyboard shortcuts?
To assign a keyboard shortcut do the following: Begin keyboard shortcuts with CTRL or a function key. Press the TAB key repeatedly until the cursor is in the Press new shortcut key box. Press the combination of keys that you want to assign.