Tuesday, February 25, 2014

DialogBox keyboard operation problem


We have a requirement that our application needs to be keyboard accessible (can navigate using just the keyboard). This is part of WCAG (Accessibility) requirement..

We are using GWT DialogBox widget and set the focus to the 'close' button. It shows a focus border as expected.
After that, if you press 'tab' key, the focus goes to browser address bar. Press 'tab' again, the focus is lost and our GWT application is not usable by keyboard. Note mouse click still works.

Does anyone know:
1. How to trap keyboard 'tab' so it does not leave the DialogBox? (We know how to trap 'tab', but can't force it to stay in the DialogBox. It always goes to the browser address bar.)
2. What are other options to implement a keyboard accessible dialog box in GWT?

Thanks for your help.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment