Microsoft Knowledge Base Email Alertz

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

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 941508 - Last Review: October 31, 2007 - Revision: 1.2

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

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.

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.

STATUS

This behavior is by design.

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:
http://msdn2.microsoft.com/en-us/library/ms533062.aspx (http://msdn2.microsoft.com/en-us/library/ms533062.aspx)

APPLIES TO
  • Windows Internet Explorer 7 for Windows Server 2003 IA64
  • Windows Internet Explorer 7 for Windows XP
  • Windows Internet Explorer 7 for Windows Server 2003
  • Windows Internet Explorer 7 in Windows Vista
Keywords: 
kbtshoot kbprb kbexpertiseinter KB941508
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate