Make WordPress Core


Ignore:
Timestamp:
09/23/2019 02:42:36 PM (7 years ago)
Author:
afercia
Message:

Accessibility: Improve and modernize user interface controls for better contrast. First part: buttons and links.

  • Introduces new styles for the buttons, with better contrast for borders and better focus style.
  • Introduces a new focus style for links.
  • The new styles improve consistency with the ones used in the new Block Editor (Gutenberg).

Props michaelarestad, truchot, mor10, kellychoffman, adamsoucie, paaljoachim, Joen, kjellr, melchoyce, karmatosed, audrasjb, afercia.
Fixes #34904.

File:
1 edited

Legend:

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

    r45188 r46241  
    179179
    180180.theme-browser .theme:focus {
    181     border-color: #5b9dd9;
    182     box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
     181    outline: 1px dotted #555d66;
    183182}
    184183
Note: See TracChangeset for help on using the changeset viewer.