A method, apparatus and computer program product for modifying a user interface in a web browsing session is described. During a learning session with a first user, a user model is created. The user model includes associating user movement of the first user with a set of user focus types. During the web browsing session with the first user, the system determines that a first user focus of the set of user focus types in the user model is appropriate to modify a web application user interface to present a priority user interface element in the user interface. The web application user interface is modified according to the first user focus.