Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
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