Tried and it works. Thank you.
On Wednesday, 26 February 2014 13:14:27 UTC-5, Jim Douglas wrote:
-- On Wednesday, 26 February 2014 13:14:27 UTC-5, Jim Douglas wrote:
Try this when you get the keyboard event for the tab key:http://www.gwtproject.org/javadoc/latest/com/google/gwt/ dom/client/NativeEvent.html# preventDefault()
On Tuesday, February 25, 2014 7:21:21 PM UTC-8, Sheryl Zheng wrote:Hello,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