[wp-trac] [WordPress Trac] #53803: Customizer: Radio button on background image position selector visible on focus
WordPress Trac
noreply at wordpress.org
Wed Jul 28 18:10:59 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 has-patch | Focuses: accessibility, css
---------------------------------------+---------------------------------
Comment (by mukesh27):
Replying to [comment:7 sabernhardt]:
> On second thought, we need to remove the `screen-reader-text:focus`
styles in Gutenberg instead. These radio buttons might not be the only
focusable elements in Core with that class, and users' websites could have
something similar on the front end.
>
> [https://github.com/WordPress/gutenberg/pull/30141 PR 30141] apparently
added the `screen-reader-text` styles for the Archives block's optional
dropdown label. The `focus` styles are intended mainly for
[https://make.wordpress.org/accessibility/2015/02/09/hiding-text-for-
screen-readers-with-wordpress-core/ skip links], not just anything with
the class.
Agreed with @sabernhardt second thoughts.
Thanks for PR @walbo
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53803#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list