Tell us what’s happening:
Your code so far
I don’t understand how to use the access keys.
Give each of the navigation links a single-letter access key.
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/220.127.116.11 Safari/537.36
Challenge: Learn Accessibility by Building a Quiz - Step 67
Link to the challenge:
Access keys are attribute that can be placed in HTML elements.
It is not a visual attribute but its gives the functionality of navigating your website with your keyboards.
You can try this by adding
accesskey attribute to your anchor element, and give the value of a single character
Accesskey works like a shortcut,
if the value of
accesskey is for example
"1", you are creating a shortcut which in most browser can be accessed using
The key modifier can be different in some browsers, but its usually either
After implementing the accesskey, you should be able to press the anchor element using the access key without using your mouse
Hope that helps
Thanks for this reply. But how do I put it in my code?
Accesskey is an attribute. You know how to put attribute into elements right?
Hint: Just like how you put href attribute into anchor elements
Ohh! I get it now. Thanks!