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

WordPress Trac noreply at wordpress.org
Mon Jan 27 20:10:12 UTC 2025


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

 * keywords:  has-patch => has-patch needs-testing has-testing-info


Comment:

 This patch will need testing in all shipped themes. The primary testing
 needed is to verify that skip links are hidden and become visible on
 focus. The change to remove `clip` in the screen reader text styles will
 have no visible consequences outside of IE, but failing to remove `clip`
 from an associated `:focus` style would result in a focused block of
 screen reader text not becoming visible.

 To test:

  - Activate each default theme. Tab from the address bar into the theme.
 Does the skip link become visible when focused?
  - Test the core skip links for jumping to the toolbar and to the admin
 content.

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


More information about the wp-trac mailing list