[wp-trac] [WordPress Trac] #62238: Update the screen-reader-text CSS class and its local implementations

WordPress Trac noreply at wordpress.org
Mon Feb 17 17:47:24 UTC 2025


#62238: Update the screen-reader-text CSS class and its local implementations
-----------------------------------------------+---------------------------
 Reporter:  afercia                            |       Owner:  joedolson
     Type:  defect (bug)                       |      Status:  closed
 Priority:  normal                             |   Milestone:  6.8
Component:  General                            |     Version:
 Severity:  normal                             |  Resolution:  fixed
 Keywords:  has-patch has-testing-info commit  |     Focuses:
                                               |  accessibility
-----------------------------------------------+---------------------------
Changes (by joedolson):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59832" 59832]:
 {{{
 #!CommitTicketReference repository="" revision="59832"
 Accessibility: Globally update `.screen-reader-text` class.

 Remove references to the obsolete style property `clip: rect(1px, 1px,
 1px, 1px);` and replace or adapt to use `clip-path: inset(50%);`. Update
 associated `:focus` styles as appropriate. Remove prefixed instances of
 `-webkit-clip-path`.

 Props afercia, hbhalodia, audrasjb, joedolson, sabernhardt.
 Fixes #62238.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62238#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list