Opened 13 years ago
Closed 13 years ago
#6889 closed defect (wontfix)
dialog: input type=file as only element in dialog does not work with keyboard in IE
Reported by: | Becky Gibson | Owned by: | Becky Gibson |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | Accessibility | Version: | 1.1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The "Show file Dialog" example on tests/test_dialog.html that opens a dialog with only a input type=file element does not work with the keyboard in IE 6 or IE7. The problem has to do with setting programmatic focus to an input type=file. We can probably use the same work around that was needed for Firefox when input type=file is the first focusable element in the dialog. Although, I wonder if it is worth the code and if we should just say you can't have a dialog with only an input type=file element?
Change History (3)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
would like to fix but need to at least document the issue for 1.2 so am leaving open.
comment:3 Changed 13 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This also will not work in FF. The browser behave differently when setting programmatic focus to input type=file. We need to set programmatic focus in order to trap the keys within the dialog. Rather than adding this specific case (input type=file as the only focusable element in the dialog) to the keyboard handling of the dialog, I updated the documentation (http://www.dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/layout/dialog) to indicate that this combination is not supported for keyboard use. Closing as wontfix.
That's fine w/me to just say that we don't support that.