[wp-trac] [WordPress Trac] #40331: The placeholder attribute should not be used as a replacement for a label
WordPress Trac
noreply at wordpress.org
Sun Feb 25 19:21:45 UTC 2024
#40331: The placeholder attribute should not be used as a replacement for a label
-------------------------------------------------+-------------------------
Reporter: afercia | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.5
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-screenshots a11y-task has-patch | Focuses: ui,
needs-testing | accessibility
-------------------------------------------------+-------------------------
Comment (by joedolson):
I can't reproduce that issue @rcreators; can you double check? That should
be getting hidden by JS at https://github.com/Rcreators/wordpress-
develop/blob/%2340331/src/js/_enqueues/wp/customize/controls.js#L3742, and
the label should be inside that wrapper, and is on
https://github.com/Rcreators/wordpress-develop/blob/%2340331/src/wp-
includes/class-wp-customize-control.php#L638.
The code in your repo matches mine, but your results aren't; if you can
just verify that the JS changes are applied in your test that would be
great.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40331#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list