YouTip LogoYouTip

Att Global Accesskey

# HTML Global accesskey Attribute The `accesskey` attribute is a global attribute in HTML that specifies a shortcut key to activate or focus an element. This attribute is highly useful for improving keyboard navigation and web accessibility (A11y) for power users and users with motor impairments. --- ## Definition and Usage The `accesskey` attribute assigns a single-character keyboard shortcut to an HTML element. When a user presses the designated shortcut key combination on their keyboard, the browser will either trigger a click event on the element (e.g., following a link or submitting a form) or shift the focus to it. ### HTML 4.01 vs. HTML5 * **In HTML 4.01:** The `accesskey` attribute was restricted to specific interactive elements: ``, ``, `