Make WordPress Core

Changeset 36587


Ignore:
Timestamp:
02/19/2016 06:43:04 PM (11 years ago)
Author:
afercia
Message:

Accessibility: Improve color contrast updating any #999 gray used for text or icons to a darker gray.

Fixes #35660.

Location:
trunk/src
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/admin-menu.css

    r34011 r36587  
    3939
    4040.icon16:before {
    41         color: #999;
     41        color: #82878c; /* same as new icons */
    4242        font: normal 20px/1 dashicons;
    4343        speak: none;
  • trunk/src/wp-admin/css/common.css

    r36582 r36587  
    444444.subsubsub a .count,
    445445.subsubsub a.current .count {
    446         color: #999;
     446        color: #555d66; /* #f1f1f1 background */
    447447        font-weight: normal;
    448448}
    … …  
    694694
    695695.wp-ui-text-icon {
    696         color: #999;
     696        color: #82878c; /* same as new icons */
    697697}
    698698
  • trunk/src/wp-admin/css/dashboard.css

    r36396 r36587  
    609609
    610610#dashboard_activity .no-activity p {
    611         color: #999;
     611        color: #72777c;
    612612        font-size: 16px;
    613613}
    … …  
    638638}
    639639
     640#dashboard_activity .subsubsub a .count,
     641#dashboard_activity .subsubsub a.current .count {
     642        color: #72777c; /* white background on the dashboard but #f1f1f1 on list tables */
     643}
     644
    640645#future-posts ul,
    641646#published-posts ul {
    … …  
    874879
    875880.rss-widget span.rss-date {
    876         color: #999;
     881        color: #72777c;
    877882        font-size: 13px;
    878883        margin-left: 3px;
  • trunk/src/wp-admin/css/install.css

    r36423 r36587  
    9898        background-position: center top;
    9999        background-repeat: no-repeat;
    100         color: #999;
     100        color: #444; /* same as login.css */
    101101        height: 84px;
    102102        font-size: 20px;
  • trunk/src/wp-admin/css/list-tables.css

    r36582 r36587  
    16431643
    16441644.no-plugin-results {
    1645         color: #999;
     1645        color: #666; /* same as no themes and no media */
    16461646        font-size: 18px;
    16471647        font-style: normal;
  • trunk/src/wp-admin/css/media.css

    r36537 r36587  
    610610
    611611.media-frame.mode-grid .attachments-browser .no-media {
    612         color: #999;
     612        color: #666; /* same as no plugins and no themes */
    613613        font-size: 18px;
    614614        font-style: normal;
  • trunk/src/wp-admin/css/nav-menus.css

    r36422 r36587  
    7070
    7171.is-submenu {
    72         color: #999;
     72        color: #555d66; /* #fafafa background */
    7373        font-style: italic;
    7474        font-weight: normal;
    … …  
    135135
    136136.theme-location-set {
    137         color: #999;
     137        color: #72777c;
    138138        font-size: 11px;
    139139}
    … …  
    485485
    486486.menu-item-handle .menu-item-title.no-title {
    487         color: #999;
     487        color: #72777c;
    488488}
    489489
  • trunk/src/wp-admin/css/press-this.css

    r36537 r36587  
    11981198
    11991199.adminbar .dashicons {
    1200         color: #999;
     1200        color: #a0a5aa; /* same as WP admin bar icons */
    12011201}
    12021202
  • trunk/src/wp-admin/css/themes.css

    r36579 r36587  
    304304
    305305.theme-browser .theme.add-new-theme a {
    306         color: #999;
    307306        text-decoration: none;
    308307        display: block;
    … …  
    726725
    727726.theme-overlay .theme-version {
    728         color: #999;
     727        color: #72777c;
    729728        font-size: 13px;
    730729        font-weight: 400;
    … …  
    10921091.upload-theme .install-help,
    10931092.upload-plugin .install-help {
    1094         color: #999;
     1093        color: #555d66; /* #f1f1f1 background */
    10951094        font-size: 18px;
    10961095        font-style: normal;
    … …  
    11501149.theme-details .no-rating {
    11511150        font-size: 11px;
    1152         color: #999;
     1151        color: #72777c;
    11531152}
    11541153
  • trunk/src/wp-admin/css/widgets.css

    r36422 r36587  
    462462}
    463463
     464 /* @todo looks like these hover/focus states are overridden by .widgets-chooser-selected */
    464465.widgets-chooser li:hover,
    465466.widgets-chooser li:focus {
    … …  
    472473        -webkit-font-smoothing: antialiased;
    473474        font: normal 26px/1 dashicons;
    474         color: #999;
     475        color: #555d66;
    475476        position: absolute;
    476477        top: 7px;
  • trunk/src/wp-admin/includes/misc.php

    r36232 r36587  
    711711        } else {
    712712                // Fall back to the default set of icon colors if the default scheme is missing.
    713                 $icon_colors = array( 'base' => '#999', 'focus' => '#00a0d2', 'current' => '#fff' );
     713                $icon_colors = array( 'base' => '#82878c', 'focus' => '#00a0d2', 'current' => '#fff' );
    714714        }
    715715
  • trunk/src/wp-includes/css/admin-bar.css

    r35340 r36587  
    454454
    455455#wpadminbar #wp-admin-bar-user-info .username {
    456         color: #999;
     456        color: #a0a5aa;
    457457        font-size: 11px;
    458458}
    … …  
    907907                width: 52px;
    908908                padding: 0;
    909                 color: #999;
     909                color: #a0a5aa; /* @todo not needed? this text is hidden */
    910910                position: relative;
    911911        }
  • trunk/src/wp-includes/css/media-views.css

    r36396 r36587  
    20072007
    20082008.image-details .custom-size span small {
    2009         color: #999;
     2009        color: #555d66; /* #f3f3f3 background */
    20102010        font-size: inherit;
    20112011}
  • trunk/src/wp-includes/general-template.php

    r36540 r36587  
    31453145                false,
    31463146                array( '#222', '#333', '#0073aa', '#00a0d2' ),
    3147                 array( 'base' => '#999', 'focus' => '#00a0d2', 'current' => '#fff' )
     3147                array( 'base' => '#82878c', 'focus' => '#00a0d2', 'current' => '#fff' )
    31483148        );
    31493149
Note: See TracChangeset for help on using the changeset viewer.