[wp-trac] [WordPress Trac] #42078: Customize: fix the color hue picker HTML and accessibility
WordPress Trac
noreply at wordpress.org
Sun Dec 10 15:55:45 UTC 2017
#42078: Customize: fix the color hue picker HTML and accessibility
---------------------------------------+-----------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Customize | Version: 4.7
Severity: normal | Resolution:
Keywords: has-screenshots has-patch | Focuses: accessibility
---------------------------------------+-----------------------------
Comment (by afercia):
@dlh @subrataemfluence thanks. Yep, seems Iris doesn't handle the case of
a hue value being changed from the input. I've played a bit with
https://github.com/Automattic/Iris/blob/add/hue-only-mode/dist/iris.js
which should be the version currently used in core. Seems to me it
wouldn't be so hard to make `_addInputListeners()` pass the value, the
problem now is that the color.js `toString()` always transform the input
value in a hex color.
I'm going to open an issue on the Iris GitHub repo, anyone willing to
contribute and follow there is very welcome.
In the meantime, [attachment:42078.debug.diff] keeps the label and input
field visible for debugging purposes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42078#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list