W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2008

[whatwg] Proposal for a link attribute to replace <a href>

From: Sam Kuper <sam.kuper@uclmail.net>
Date: Fri, 29 Feb 2008 16:31:05 +0000
Message-ID: <4126b3450802290831y41d39874j4082da1bc0af2455@mail.gmail.com>
On 28/02/2008, Robert O'Rourke <rob at sanchothefat.com> wrote:

> I don't understand why buttons should not be allowed an href, obviously
> when the button or input is to submit a form (ie. explicitly having
> type="submit" as an attribute) it shouldn't be allowed but I'd find it
> useful where I've had to style a collection of links and inputs to be
> similar, for example the steps for a checkout process:

One has to be careful here. You're absolutely right that form submission
buttons need to be treated specially, as otherwise users' web accelerator
software will start checking out their shopping carts, etc.

I'm concerned that in all the exuberance to make more elements links,
various basic problems like this might get overlooked.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20080229/41b85ef6/attachment.htm>
Received on Friday, 29 February 2008 08:31:05 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:01 UTC