[Webkit-unassigned] [Bug 108447] New: INPUT_MULTIPLE_FIELDS_UI: Focus order is not controllable by tabIndex attribute on <input>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 31 02:42:39 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=108447

           Summary: INPUT_MULTIPLE_FIELDS_UI: Focus order is not
                    controllable by tabIndex attribute on <input>
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tkent at chromium.org


<body>
<input tabindex=30 value=30>
<input tabindex=20 type=date>
<input tabIndex=10 value=10 autofocus>
</body>

Steps to reproduce:
 1. Open the document above on Google Chrome 24+.
 2. Press TAB 3 times
   ==> The last sub-field in the date input is focused.
 3. Press TAB

Expected:
  The input with tabindex=30 is focused.

Actual:
  The 'Back' navigation button is focused.


The shadow host of the date input is not focusable, and it's shadow sub-fields are focusable. We have no ways to control focus sequence in this case though the shadow host has tabindex.

Possible solutions:
  A) Introduce special handling to respect tabindex on non-focusable shadow host
  B) Make the shadow host <input> focusable
     In this case, we'd like to focus on the first sub-field when the shadow host is focused, and Shift+TAB on the first sub-field should skip focusing on the shadow host. We need another hack to detect focus direction.
  C) Stop using shadow DOM focus navigation.
    Make the shadow host <input> focusable, and make sub-fields non-focusable.
    We can emulate the current behavior by detecting focus direction.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list