Screen reader text in block library shouldn't be visible on focus #33724
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Status] In Progress
Tracking issues with work in progress
Description
#30141 added
screen-reader-text
in the common block library CSS.:focus
onscreen-reader-text
has some unintended effects on some other focusable elements in core, and users' websites could have something similar on the front end. See core ticket https://core.trac.wordpress.org/ticket/53803The focus styles are intended mainly for skip links, not just anything with the class.
cc @sabernhardt
WordPress information
Device information
The text was updated successfully, but these errors were encountered: