[wp-trac] [WordPress Trac] #63030: Update CSS for `::-moz-placeholder` color
WordPress Trac
noreply at wordpress.org
Wed Jun 4 10:46:52 UTC 2025
#63030: Update CSS for `::-moz-placeholder` color
----------------------------+---------------------------------
Reporter: afercia | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.9
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: accessibility, css
----------------------------+---------------------------------
Comment (by logicrays):
I’ve reviewed the issue. Since Firefox has updated its handling of ::-moz-
placeholder by using color-mix instead of opacity, we should remove
opacity: 1 from core and bundled themes where it no longer has any effect.
Additionally, themes that don’t set a placeholder color should explicitly
define one using a sufficient contrast value like:
::placeholder {
color: color-mix(in srgb, currentColor 54%, transparent);
}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63030#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list