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

WordPress Trac noreply at wordpress.org
Sat Feb 11 17:37:45 UTC 2023


#56789: Toolbar: screen-reader-shortcut does not have background color until
focused
-------------------------------------------------+-------------------------
 Reporter:  sabernhardt                          |       Owner:  joedolson
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.2
Component:  Toolbar                              |     Version:
 Severity:  trivial                              |  Resolution:  fixed
 Keywords:  has-patch has-screenshots has-       |     Focuses:
  testing-info commit                            |  accessibility, css
-------------------------------------------------+-------------------------
Changes (by joedolson):

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


Comment:

 In [changeset:"55307" 55307]:
 {{{
 #!CommitTicketReference repository="" revision="55307"
 Toolbar: Prevent false positive on automated contrast testing.

 The non-focused state of the `.screen-reader-shortcut` element in the
 admin bar fails contrast tests. This has no real-world consequences, but
 raises false positives in some automated testing tools. This fix is
 largely so people using automated testing will not raise false positives.

 Props sabernhardt, afercia, robinwpdeveloper, re_enter_rupok.
 Fixes #56789.
 }}}

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


More information about the wp-trac mailing list