[Bug 14283] Allow <button> to be nested inside <a> tags, just like html4. Otherwise, <button type="button"> is totally useless with javascript disabled.

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

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ian@hixie.ch
         Resolution|                            |WONTFIX

--- Comment #1 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-10-02 17:23:39 UTC ---
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the tracker issue; or you may create a tracker issue
yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: Just allowing them to be nested wouldn't make them do anything,
since it would still just fire the button handler and the link would still do
nothing.

<button type=button> is indeed useless when JS is disabled. The solution is not
to nest it inside a link, but to only use it when JS is enabled (e.g. by having
the JS change submit buttons to normal buttons, or have the JS be the one that
creates the button in the first place).

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

Received on Sunday, 2 October 2011 17:23:45 UTC