#5934 closed defect (fixed)
dialog: if first item is an input type=file focus does not go to the dialog when it is opened
Reported by: | Becky Gibson | Owned by: | Becky Gibson |
---|---|---|---|
Priority: | high | Milestone: | 1.1 |
Component: | Accessibility | Version: | 1.0 |
Keywords: | Cc: | simonjb | |
Blocked By: | Blocking: |
Description
Add an input type=file as the first focusable item in a dialog. When the dialog is opened focus is NOT within the dialog box.
Attachments (1)
Change History (8)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Changed 13 years ago by
Attachment: | 5934.patch added |
---|
check if FF and firstFocusItem is input type=file
comment:3 Changed 13 years ago by
Status: | new → assigned |
---|
comment:4 Changed 13 years ago by
comment:5 Changed 13 years ago by
(In [12716]) refs #5934 I made the same change for tooltip dialog as for dialog- if input type=file is first focusable element and isMoz then set focus to the tooltip dialog container. Even tho tooltip dialog doesn't have the exact focus issues as dialog becuz setting programmatic focus to an input type=file in FF only sets focus to the browse button part - this fix is needed to user can get focus into the textbox part of input field when it is first element in tooltip dialog
comment:6 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
documentation has been updated - closing
comment:7 Changed 10 years ago by
(In [23488]) Make Dialog focus on close icon if the Dialog has no focusable elements. For TooltipDialog in this case, focus goes to the DOMNode, but officially TooltipDialogs must have at least one focusable element. Fixes #8285, #12131 !strict.
Also removed some FF workaround code about focusing an <input type=file>. It no longer seems to be needed (tested on FF3.6 on mac and windows). Refs #5934.
Finally, simplified Dialog aria tests.
seems to be a problem only in Firefox, IE 6 & 7 work ok