
Web Dynpro Framework supports access keys .
Access keys are keys or key combinations that a user uses to set the focus directly on a UI element without triggering the defined function.
Access keys can be activated or deactivated in general using personalization.
Visualization
The visualization of the activateAccessKey takes place partly on the UI element itself (for example, for a Button), or on the title of the UI element (for example, the Header of a Group or a Tray) or on a Label (for example, for an InputField).
The key combination for an access key is always ALT + [first letter of text of UI element/title/label] for the purposes of Web Dynpro ABAP:
To prevent possible inconsistencies during translation, the key combination for an access key cannot be personalized.
The key combination ALT + d is an exception; it does not work in Internet Explorer. The Web Dynpro framework automatically assigns an alternative key combination.
You can view all access keys for your application in the browser by holding down the ALT key. The AccessKey letter for UI element in question is underlined.
When you press an access key, the focus changes to the next UI element with the AccessKey in question. If you press the access key multiple times, the focus moves through all UI elements with the corresponding AccessKey.
Always pay attention to the focus for keyboard navigation and dynamic programming.
Note the following for hotkeys, access keys, and other types of keyboard navigation: The application itself is responsible for ensuring that the focus is set in the correct place for dynamic programming so that keyboard handling works correctly.
Assignment to UI Elements
The activateAccessKey property is available for the following UI elements:
|
UI Element |
Visualization |
|---|---|
|
In the UI element |
|
|
am Label |
|
|
am Label |
|
|
For ToggleLink and AbstractToggleButton, the visualization takes place in the UI element; however, for CheckBox, the following applies: If a Label exists, the visualization takes place on the Label; otherwise, it takes place in the UI element itself. |
|
|
In the UI element |
|
|
Each individual CheckBox gets an AccessKey, but not the CheckBoxGroup itself (the Label) |
|
|
am Label |
|
|
Header ( Caption) |
|
|
am Label |
|
|
If a Label exists, the visualization takes place on the Label; otherwise, it takes place in the Link itself. |
|
|
am Label |
|
|
If a Label exists, the visualization takes place on the Label; otherwise, it takes place in the UI element itself. |
|
|
If a Label exists, the visualization takes place on the Label; otherwise, it takes place in the UI element itself. |
|
|
Header ( Caption) |
|
|
Each Tab gets an AccessKey; the visualization takes place on the Header aggregation. |
|
|
am Label |
|
|
am Header |
|
|
If a Label exists, the visualization takes place on the Label; otherwise, it takes place in the UI element itself. |