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
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.
This behavior is by design.
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:
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
| 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