Article ID: 941508 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
Consider the following scenario. You design a Web page. You use the ACCESSKEY attribute to set or retrieve the keyboard shortcut for an object. You set the D key as the keyboard shortcut for the object. In this scenario, when you view the Web page in Internet Explorer 7, you cannot set the focus to the object by pressing ALT+D. Instead, when you press ALT+D, the focus is set to the address bar.
However, when you set another key as the keyboard shortcut for the object, you do not experience this issue. You can set the focus to the object by pressing the ALT key together with that key.
Note This issue does not occur in Internet Explorer 6.
By default, ALT+D sets the focus to the text in the Address bar in Internet Explorer 7. Therefore, you cannot set the D key as the keyboard shortcut for the object in Internet Explorer 7.
By default, the accessKey property sets the focus to the object. The object receives the focus when the user presses the ALT key together with the key that is assigned to an object.
For more information about accessKey property and the ACCESSKEY attribute, visit the following Microsoft Web site:
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.
Article ID: 941508 - Last Review: January 16, 2015 - Revision: 1.0