[wp-trac] [WordPress Trac] #28849: Customizer Range Control needs to display the current value
WordPress Trac
noreply at wordpress.org
Sat Jul 19 00:29:31 UTC 2014
#28849: Customizer Range Control needs to display the current value
-------------------------+--------------------------------
Reporter: andy.saint | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version:
Severity: normal | Resolution:
Keywords: close | Focuses: ui, accessibility
-------------------------+--------------------------------
Changes (by celloexpressions):
* keywords: => close
Comment:
Hi,
I think we might consider standardizing the cross-browser behavior here in
terms of appearance in the future (along with things like date and time,
which only Chrome supports fully), but I don't think we'd consider adding
a display of the value.
While this is a common practice (I've done it several times before,
myself), I did some research when we added support for this. '''Range is
designed to be used for fields where the exact value doesn't matter'''.
Where the exact value does matter, `number` is probably more appropriate
(especially if using min, max, and step) even though it isn't as fun to
use. While the value of `range` is always represented by a number, its
purpose isn't always numeric for the end-user. The point of `range` is to
abstract the numeric representation of the value into something more
visual.
I think we should stay on the side of being more conservative with this,
especially since our support for `range` is implicit, not explicit. And,
you can always use a custom control or apply some JS to the standard
control to do that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28849#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list