The accesskey attribute is a way to set up a shortcut on an element. The code itself isn’t hard to apply, this an example of how it is done:
<a href="https://www.youtube.com/" accesskey="y">Youtube</a>
The only thing to keep in mind is that activate the accesskey is not the same in every browser and OS. MDN3MDN web docs. accesskey. adds the following chart about how to activate it depending on the browser and system.
Furthermore, here is a quick functional example of accesskey to tryout. For more information, you can check out the references down below.