The _____ attribute is used to define a keyboard shortcut to activate or bring focus to an element.
- accesskey
- alt
- href
- src
The accesskey attribute specifies a shortcut key to activate/focus an element. It's beneficial for user accessibility, as users can navigate a webpage using the keyboard. However, care should be taken that the assigned access keys do not conflict with existing browser or system shortcuts.
Loading...
Related Quiz
- How can rel="noopener" or rel="noreferrer" attributes be vital when using target="_blank"?
- The ____ attribute defines the alternative text for an image.
- Which attribute needs to be set to make a dropdown list accept multiple selections?
- In HTML, text within ______ tags is displayed in a new block-level element, typically with a blank line above and below.
- You're tasked with creating an HTML document to showcase various reviews and their respective authors. How would you semantically structure the quotes and authors, ensuring that the citation sources are machine-readable?