Initial focus in modal subwindows

In any modal subwindow like the one in the sampler:

http://demo.vaadin.com/sampler#SubwindowModal

after you open the Window, you cannot use the tab key to get to any field. This breaks accessibility.

Is this a bug or is there some API to transfer to focus to the subwindow?

Hi,

you could call the focus() method of the first (or any) field within the modal window. After that you can tab around within the modal window.

Unfortunately there is also a
bug
in how the focus works with modal windows. This is probably also preventing you from “tabbing in” to the modal window.

-Tepi