You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I absolutely love this framework. Thank you so much for your hard work.
imho use switches like this is problematic for at least 2 main reasons:
It's not "The WordPress way" - I think frameworks such as this should stick to the way WordPress handles options as much as possible. It makes for a more consistent user experience across the platforms
There's no solid research on how good or bad switches are for accessibility or general UX. However there is a metric crap-tonne for a standard checkbox.
My personal preference here would be to stick to checkboxes. However, if you wanted to go with switches, I would go with a solution which would allow me as a developer to use them or not'
'use_switches' => true
As part of the settings array, for example.
My 2 cents. Again, thanks for your hard work on this.
IF we finally implement switwes, of course there's going to be an argument that will allow you to enable them on a per-setting basis.
For consistency we'll probably use 'mode' => 'switch' since we use 'mode' on radios as well.
See http://codepen.io/ZoFish/pen/CLxmq for an implementation
The text was updated successfully, but these errors were encountered: