WordPress / twentytwenty

Twenty Twenty is included in Core as of WordPress 5.3 🎉 To report any issues, please go here: https://core.trac.wordpress.org/newticket
Other
301 stars 140 forks source link

Reset the word-break property on `.screen-reader-text` #988

Closed pattonwebz closed 5 years ago

pattonwebz commented 5 years ago

This prevents an issue that causes screen readers to loose the spaces between words and read everything consecutively, with no word breaks, in a statement.

This is an attempted fix for #972 but with the one caveat noted in this comment: https://github.com/WordPress/twentytwenty/issues/972#issuecomment-551935050