Re: [whatwg] Add input Switch Type

2013-12-19 Thread Qebui Nehebkau
On Wed, Dec 18, 2013 at 6:46 PM, Brian Blakely anewpage.me...@gmail.com wrote: A switch is definitely NOT simply a styled checkbox. As I mentioned earlier, you can slide/drag a switch to change its value. Also, a switch typically animates, whereas a checkbox is essentially a more static

Re: [whatwg] Add input Switch Type

2013-12-18 Thread Brian Blakely
On Tue, Nov 19, 2013 at 6:29 AM, Elliott Sprehn espr...@chromium.orgwrote: On Tue, Nov 19, 2013 at 1:37 AM, Jonas Sicking jo...@sicking.cc wrote: Realistically speaking, I don't think this will help much at all. Few websites like using the default styling for form controls anyway and so

Re: [whatwg] Add input Switch Type

2013-11-19 Thread Mikko Rantalainen
Brian M. Blakely, 2013-09-21 02:03 (Europe/Helsinki): I was contemplating whether to propose a new input type, or an attribute valid only for checkboxes. But it isn't a checkbox, so I went with a new type value. You can choose to slide the switch or click it in most OS implementations, so even

Re: [whatwg] Add input Switch Type

2013-11-19 Thread Jonas Sicking
Realistically speaking, I don't think this will help much at all. Few websites like using the default styling for form controls anyway and so people would be just as unhappy with the default switch rendering as they are with the default checkbox rendering. The real fix is to allow styling

Re: [whatwg] Add input Switch Type

2013-11-19 Thread Elliott Sprehn
On Tue, Nov 19, 2013 at 1:37 AM, Jonas Sicking jo...@sicking.cc wrote: Realistically speaking, I don't think this will help much at all. Few websites like using the default styling for form controls anyway and so people would be just as unhappy with the default switch rendering as they are

Re: [whatwg] Add input Switch Type

2013-11-19 Thread Domenic Denicola
From: whatwg-boun...@lists.whatwg.org [mailto:whatwg- I agree that the look and feel is different from checkbox but all the differences seem to be purely presentational. If you disagree, you need to elaborate a bit more. Interestingly, Microsoft's Windows Store apps guidelines disagree. I

Re: [whatwg] Add input Switch Type

2013-11-19 Thread Anne van Kesteren
On Tue, Nov 19, 2013 at 2:25 PM, Domenic Denicola dome...@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

Re: [whatwg] Add input Switch Type

2013-11-19 Thread Michael Zajac
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

Re: [whatwg] Add input Switch Type

2013-11-19 Thread Jukka K. Korpela
2013-11-19 16:25, Domenic Denicola wrote: From: whatwg-boun...@lists.whatwg.org [mailto:whatwg- I agree that the look and feel is different from checkbox but all the differences seem to be purely presentational. If you disagree, you need to elaborate a bit more. Interestingly, Microsoft's

Re: [whatwg] Add input Switch Type

2013-11-19 Thread Qebui Nehebkau
On 19 November 2013 19.13.44, Jukka K. Korpela wrote: From the usability and accessibility point of view, this seems to address an important issue. Authors sometimes use checkboxes (or radio buttons) so that changing their state has an immediate effect, even submitting a form. This may violate

Re: [whatwg] Add input Switch Type

2013-11-19 Thread Maciej Stachowiak
On Nov 19, 2013, at 1:37 AM, Jonas Sicking jo...@sicking.cc wrote: Realistically speaking, I don't think this will help much at all. Few websites like using the default styling for form controls anyway and so people would be just as unhappy with the default switch rendering as they are with

Re: [whatwg] Add input Switch Type

2013-11-19 Thread Jukka K. Korpela
2013-11-19 22:27, Qebui Nehebkau wrote: A checkbox represents an input with binary state. As I understand it, whether the input is immediate or takes effect only on some kind of submission is defined by context - specifically, whether the checkbox is associated with a form with a submit button.

Re: [whatwg] Add input Switch Type

2013-11-19 Thread Qebui Nehebkau
On Tue, Nov 19, 2013 at 9:28 PM, Jukka K. Korpela jkorp...@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 -

Re: [whatwg] Add input Switch Type

2013-09-22 Thread alonn
waanndt wyeonut thoo mken.o w * * -- Forwarded message -- From: Brian Blakely anewpage.me...@gmail.com To: whatwg@lists.whatwg.org whatwg@lists.whatwg.org Cc: Date: Fri, 20 Sep 2013 18:36:53 -0400 Subject: [whatwg] Add input Switch Type iPhone OS introduced the switch

[whatwg] Add input Switch Type

2013-09-20 Thread Brian Blakely
iPhone OS introduced the switch control (http://i.imgur.com/TA79fo2.png) in 2007. Since then, there have been many attempts to recreate this on the Web Platform by hacking existing control types and using a lot of meaningless markup, to varying degrees of success. The proposal is to add a switch

Re: [whatwg] Add input Switch Type

2013-09-20 Thread Tab Atkins Jr.
On Fri, Sep 20, 2013 at 3:36 PM, Brian Blakely anewpage.me...@gmail.com wrote: iPhone OS introduced the switch control (http://i.imgur.com/TA79fo2.png) in 2007. Since then, there have been many attempts to recreate this on the Web Platform by hacking existing control types and using a lot of

Re: [whatwg] Add input Switch Type

2013-09-20 Thread Brian M. Blakely
I was contemplating whether to propose a new input type, or an attribute valid only for checkboxes. But it isn't a checkbox, so I went with a new type value. You can choose to slide the switch or click it in most OS implementations, so even the behavior is different from a checkbox. I