[Bug 12867] New: Hidden with autofocus

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12867

           Summary: Hidden with autofocus
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: rasamassen@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Include "autofocus" in the list of "The following content attributes must not
be specified and do not apply to the element" for <input type="hidden"> ::
http://dev.w3.org/html5/spec/states-of-the-type-attribute.html#hidden-state

Autofocus focuses on the control, "allowing the user to just start typing
without having to manually focus the main control" - hidden elements cannot be
focused on because there is no place for typing.

https://developer.mozilla.org/en/HTML/HTML5/Forms_in_HTML5#The_autofocus_attribute
claims autofocus cannot be applied to type="hidden" for that reason, but it's
not in the current list of content attributes that must not be specified for
hidden.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Friday, 3 June 2011 01:14:28 UTC