[whatwg] Add <input> "Switch" Type
michael at zajac.ca
Tue Nov 19 07:53:04 PST 2013
There is certainly a semantic difference between switches and checkboxes. As much of a difference as between buttons and links.
A checkbox is part of a checklist, something you use to indicate or track the states of things. You put a series of checkmarks on a form, then bring it to the reception desk.
A switch, like a button, is a mechanical control that actuates something. You flick a switch to turn the light on.
On 2013-11-19, at 8:39, Anne van Kesteren <annevk at annevk.nl> wrote:
> On Tue, Nov 19, 2013 at 2:25 PM, Domenic Denicola
> <domenic at domenicdenicola.com> wrote:
>> "Use a toggle switch for binary settings when changes become effective immediately after the user changes them."
>> "Use a checkbox when the user has to perform extra steps for changes to be effective."
> On the other hand, we have these two type of experiences on the web
> already and they are not limited to checkboxes. Introducing different
> controls for effectively the same action with the only difference
> being whether you need to hit submit seems somewhat contrived.
More information about the whatwg