W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2013

Re: [whatwg] Add <input> "Switch" Type

From: Qebui Nehebkau <qebui.nehebkau+whatwg@gmail.com>
Date: Tue, 19 Nov 2013 21:47:49 +0000
Message-ID: <CAF_oMa0a-QjhfVKh8+reS4wxp8CwrEBt3bLqWoG46x90BQArzQ@mail.gmail.com>
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Cc: whatwg <whatwg@lists.whatwg.org>
On Tue, Nov 19, 2013 at 9:28 PM, Jukka K. Korpela <jkorpela@cs.tut.fi> wrote:
> It would be too restrictive to require that, and an reality, things donít
> work that way. For example, if the action consists of deleting something,
> you just canít repeat it next.

Well, you can. Deletion is idempotent - deleting something that has
already been deleted does nothing. However, if the action a button
represents is not currently applicable, the button should be disabled;
pressing the button again doesn't need to be possible.  In any case, I
don't mean to suggest that that should be 'required', just that it is
part of the concept of a button and following it where possible is
likely a good idea if you want users to form correct conclusions about
what things will do.
Received on Tuesday, 19 November 2013 21:48:33 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:14 UTC