Make WordPress Core

Changeset 35494


Ignore:
Timestamp:
11/03/2015 05:58:15 PM (9 years ago)
Author:
afercia
Message:

Accessibility: Improve buttons focus and links style in the install screens.

Fixes #34530.

Location:
trunk/src
Files:
2 edited

Legend:

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

    r34752 r35494  
    1818a {
    1919    color: #0073aa;
    20     text-decoration: none;
    21 }
    22 
    23 a:hover {
     20}
     21
     22a:hover,
     23a:active {
    2424    color: #00a0d2;
     25}
     26
     27a:focus {
     28    color: #124964;
     29    -webkit-box-shadow:
     30        0 0 0 1px #5b9dd9,
     31        0 0 2px 1px rgba(30, 140, 190, .8);
     32    box-shadow:
     33        0 0 0 1px #5b9dd9,
     34        0 0 2px 1px rgba(30, 140, 190, .8);
     35}
     36
     37.ie8 a:focus {
     38    outline: #5b9dd9 solid 1px;
    2539}
    2640
     
    98112    display: block;
    99113}
     114
     115#logo a:focus {
     116    -webkit-box-shadow: none;
     117    box-shadow: none;
     118}
     119
    100120.step {
    101121    margin: 20px 0 15px;
  • trunk/src/wp-includes/functions.php

    r35460 r35494  
    25582558        a {
    25592559            color: #0073aa;
    2560             text-decoration: none;
    2561         }
    2562         a:hover {
     2560        }
     2561        a:hover,
     2562        a:active {
    25632563            color: #00a0d2;
    25642564        }
     
    26122612
    26132613        .button:focus  {
    2614             -webkit-box-shadow:
    2615                 0 0 0 1px #5b9dd9,
    2616                 0 0 2px 1px rgba(0, 115, 170, .8);
    2617             box-shadow:
    2618                 0 0 0 1px #5b9dd9,
    2619                 0 0 2px 1px rgba(0, 115, 170, .8);
     2614            border-color: #5b9dd9;
     2615            -webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
     2616            box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
    26202617            outline: none;
    26212618        }
Note: See TracChangeset for help on using the changeset viewer.