[wp-trac] [WordPress Trac] #56789: Toolbar: screen-reader-shortcut does not have background color until focused

WordPress Trac noreply at wordpress.org
Tue Oct 11 14:35:34 UTC 2022


#56789: Toolbar: screen-reader-shortcut does not have background color until
focused
--------------------------------+-----------------------------
 Reporter:  sabernhardt         |      Owner:  (none)
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Toolbar             |    Version:
 Severity:  minor               |   Keywords:
  Focuses:  accessibility, css  |
--------------------------------+-----------------------------
 The WAVE extension reports low color contrast for the "Log Out" screen-
 reader-shortcut because it has the admin's blue link color without setting
 the lighter background in all states. Then the `:focus` state properly
 [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/css/admin-
 bar.css?rev=54395#L724 sets both the text and background color].

 Since the link is off-screen until it receives focus, the low contrast
 theoretically is not a problem. But setting both colors on `#wpadminbar
 .screen-reader-shortcut` could be better.

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


More information about the wp-trac mailing list