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

WordPress Trac noreply at wordpress.org
Wed Oct 16 12:55:50 UTC 2024


#62238: Update the screen-reader-text CSS class and its local implementations
---------------------------+-----------------------------
 Reporter:  afercia        |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:
 Severity:  normal         |   Keywords:
  Focuses:  accessibility  |
---------------------------+-----------------------------
 In a recent conversation on the block editor repository at
 https://github.com/WordPress/gutenberg/pull/65409 it was agreed to update
 and simplify the `screen-reader-text` CSS class by:
 - Removing the now unnecessary `clip: rect(1px, 1px, 1px, 1px);`
 - Removing any prefixed version of clip-path e.g. `-webkit-clip-path:
 inset(50%);`

 This should be done through the entire codebase and
 [https://make.wordpress.org/accessibility/handbook/markup/the-css-class-
 screen-reader-text/ the documentation ], including bundled themes.

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


More information about the wp-trac mailing list