Focus Handling
Logically related UI elements have to receive keyboard focus in an order that preserves semantics and usability of the applicatoin. It is essential to observe the moving focus in each application page. This information is preserved for refocusing elements after rerendering. The focus triggers event firing. Due to the high degree of flexibility in control rendering, a functionality tailored to the respective control is required. For this reason, the framework provides helper functions for the implementation of focus handling.
Initial Focus in Popups
Initial focus is used for specifying the first focused element when the application is loaded, or popover or dialog is opened, etc.
sap.m.Popover
<Popover title="Product" initialFocus="focusThis" > <content> <VBox> <Link href="#" text="Link"/> <Link id="focusThis" href="#" text="Link"/> </VBox> </content> </Popover>See Example
For more information, see Demokit - Implementing Focus Handling