Name
ACCESSKEY — NN n/a IE 4 HTML 4
Synopsis
ACCESSKEY=”character"
Optional
A single character key that specifies the keyboard shortcut to effect a click of the button. The browser and operating system determine if the user must press a modifier key (e.g., Ctrl, Alt, or Command) with the access key to “click” the button. In IE 4/Windows, the Alt key is required, and the key is not case sensitive. This attribute does not work in IE 4/Mac.
Example
<BUTTON TYPE="button" ACCESSKEY=t onClick="goToContents()"> Table of Contents </BUTTON>
Value
Single character of the document set.
Default
None.
Object Model Reference
- IE
[window.]document.all.elementID.accessKey
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.