[wp-trac] [WordPress Trac] #53803: Customizer: Radio button on background image position selector visible on focus
WordPress Trac
noreply at wordpress.org
Tue Jul 27 22:15:05 UTC 2021
#53803: Customizer: Radio button on background image position selector visible on
focus
-----------------------------------------+---------------------
Reporter: walbo | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.8.1
Component: Customize | Version: 5.8
Severity: normal | Resolution:
Keywords: has-screenshots needs-patch | Focuses: css
-----------------------------------------+---------------------
Comment (by sabernhardt):
Thanks for the patch! Unfortunately, the input uses the
[https://make.wordpress.org/accessibility/handbook/markup/semantic-html
/#screen-reader-text-class screen-reader-text class] purposely to avoid
`display:none` or `visibility:hidden`.
A negative `top` value might help for a quick fix:
{{{
.background-position-control .screen-reader-text:focus {
top: -9999px;
}
}}}
I'd like to try pulling the radio button out of the label tag (using for
and id attributes), but that is too much to change comfortably in a minor
release.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53803#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list