[wp-trac] [WordPress Trac] #64375: Set `word-break` property in screen reader only css.
WordPress Trac
noreply at wordpress.org
Fri Feb 13 17:11:33 UTC 2026
#64375: Set `word-break` property in screen reader only css.
------------------------------+---------------------------------
Reporter: peterwilsoncc | Owner: joedolson
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 7.0
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: accessibility, css
------------------------------+---------------------------------
Changes (by joedolson):
* owner: (none) => joedolson
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"61636" 61636]:
{{{
#!CommitTicketReference repository="" revision="61636"
A11y: Update `.screen-reader-text` class with `word-break`.
`word-break: normal !important;` was added to Twenty Twenty in [46701],
but the change missed getting propagated to all uses of the screen-reader-
text class at that time.
Add `word-break` reset to `.screen-reader-text` to ensure screen readers
won't read text as individual letters in hidden text.
Props peterwilsoncc, manhphucofficial, palak678, sabernhardt, mukesh27,
joedolson.
Fixes #64375.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64375#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list