Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You cannot press ALT+D to set the focus to an object in Internet Explorer 7


View products that this article applies to.

Symptoms

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.

↑ Back to the top


Cause

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.

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


More information

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:

↑ Back to the top


Keywords: KB941508, kbexpertiseinter, kbprb, kbtshoot

↑ Back to the top

Article Info
Article ID : 941508
Revision : 3
Created on : 10/31/2007
Published on : 10/31/2007
Exists online : False
Views : 326