[Webkit-unassigned] [Bug 9460] New: Text Input Element: Detection of focus or setting of focus broken

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Jun 15 16:48:58 PDT 2006


           Summary: Text Input Element: Detection of focus or setting of
                    focus broken
           Product: WebKit
           Version: 417.x
          Platform: Macintosh
               URL: http://<username>.vox.com/organize
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: JavaScriptGlue
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: christopherbalz at yahoo.com
                CC: christopherbalz at yahoo.com

Note: This bug is either in HTML DOM, JavaScriptGlue (is this the DOM
binding?), or both.

Safari is not strong enough to support custom JavaScript modal dialogs.  The
modal dialog on the screen is just a 'div' element with invisible text input
boxes at the start and end of the tabbing order.  On stronger web browsers,
such as IE 6 and Firefox, they function to keep the user from tabbing out of
the modal dialog.  

This is key to modal dialog functionality in any user interface.  One major
benefit of this functionality is that the user can loop through the tabbable
elements in the dialog simply by tabbing (i.e., get to the beginning tabbable
element by tabbing past the end element).  Additionally, this is important for
accessibility by those with physical disabilities.  

In the source code, there is a method in the "Component" class called
"captureFocus" that traps a DOM focus event on one of these invisible user
input elements ("input type='text'") and resets the focus such that the user
cannot tab out of the dialog.  This is not working on Safari, although the
functionality is w3c compliant and works on IE 6 and Firefox.  There is
something broken in Safari's JavaScript or DOM functionality that is causing
this bug.

To get access to Vox, where you may reproduce this bug, simply send me a
desired log-in (i.e., "webkit-tester") and corresponding e-mail address at
cbalz at sixapart.com.  Then I will give you a starter account on Vox, with which
you may reproduce this bug at your convenience.  

This product, Vox, is publically available but access to some functionality is
still on a somewhat limited basis.  However, more users will be on Vox in the
near future.  Please fix this important bug.

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list