Opened 14 years ago

Closed 14 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:


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 14 years ago by bill

That's fine w/me to just say that we don't support that.

comment:2 Changed 14 years ago by Becky Gibson

would like to fix but need to at least document the issue for 1.2 so am leaving open.

comment:3 Changed 14 years ago by Becky Gibson

Resolution: wontfix
Status: newclosed

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 ( to indicate that this combination is not supported for keyboard use. Closing as wontfix.

Note: See TracTickets for help on using tickets.