[wp-trac] [WordPress Trac] #39970: Improve the "dismiss notice" button color contrast

WordPress Trac noreply at wordpress.org
Fri Mar 17 11:33:56 UTC 2017


#39970: Improve the "dismiss notice" button color contrast
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:
     Type:  defect (bug)                         |  rianrietveld
 Priority:  normal                               |      Status:  assigned
Component:  Administration                       |   Milestone:  4.8
 Severity:  normal                               |     Version:
 Keywords:  has-screenshots color-contrast       |  Resolution:
  good-first-bug has-patch                       |     Focuses:  ui,
                                                 |  accessibility
-------------------------------------------------+-------------------------

Comment (by rianrietveld):

 Hey @chris_dev, thanks for the patch.
 Tested this patch at the contributor day at WordCamp London and it work
 good for all the cases described by @afrecia.

 Just one thing: although the colour in .notice-dismiss is overruled by
 .notice-dismiss:before, we think that the colour `#b4b9be` in .notice-
 dismiss should also be changed into `#72777c` in case the class will be
 used in other cases without the :before.

 {{{
 .notice-dismiss {
         position: absolute;
         top: 0;
         right: 1px;
         border: none;
         margin: 0;
         padding: 9px;
         background: none;
         color: #b4b9be;
         cursor: pointer;
 }
 }}}

 Maybe it's useful to investigate if there are more cases where `#b4b9be`
 is used.

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


More information about the wp-trac mailing list