Ticket #5934 (closed defect: fixed)

Opened 6 months ago

Last modified 6 months ago

dialog: if first item is an input type=file focus does not go to the dialog when it is opened

Reported by: becky Owned by: becky
Priority: normal Milestone: 1.1
Component: Accessibility Version: 1.0
Severity: normal Keywords:
Cc: simonjb

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

5934.patch (0.9 kB) - added by becky 6 months ago.
check if FF and firstFocusItem is input type=file

Change History

Changed 6 months ago by becky

seems to be a problem only in Firefox, IE 6 & 7 work ok

Changed 6 months ago by becky

(In [12589]) refs #5934 added input type=file as first item of dialog for testing and debugging

Changed 6 months ago by becky

check if FF and firstFocusItem is input type=file

Changed 6 months ago by becky

  • status changed from new to assigned

Changed 6 months ago by becky

(In [12706]) refs #5934 if in FF and first focusable item in a dialog is an input type=file make the dialog domNode the first focusable item. Will close ticket when I complete update of documentation for dialog in book

Changed 6 months ago by becky

(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

Changed 6 months ago by becky

  • status changed from assigned to closed
  • resolution set to fixed

documentation has been updated - closing

Note: See TracTickets for help on using tickets.