Microsoft KB Archive/941508

From BetaArchive Wiki
Knowledge Base


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

Article ID: 941508

Article Last Modified on 10/31/2007



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



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:

Keywords: kbtshoot kbprb kbexpertiseinter KB941508