[Webkit-unassigned] [Bug 140963] New: :target element not focused properly when element with autofocus attribute exists

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 27 15:19:11 PST 2015


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

            Bug ID: 140963
           Summary: :target element not focused properly when element with
                    autofocus attribute exists
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mail at rodneyrehm.de
                CC: webkit-bug-importer at group.apple.com

Specifications:

* http://www.w3.org/TR/html5/forms.html#autofocusing-a-form-control:-the-autofocus-attribute
* http://www.w3.org/TR/html5/browsers.html#scroll-to-fragid

WebKit will scroll to the :target and focus the element if it is focusable.
If it's not focusable, it will still scroll to :target, but focus the element with autofocus attribute set.

Live test case: http://medialize.github.io/ally.js/tests/browser-bugs/blink-autofocus.html#foo

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150127/ae5be912/attachment-0002.html>


More information about the webkit-unassigned mailing list