Make WordPress Core


Ignore:
Timestamp:
09/17/2016 03:38:40 PM (8 years ago)
Author:
afercia
Message:

Accessibility: Standardize the remove/delete/cancel links in the Menus screen and Publish meta boxes.

The submitdelete CSS class is used in various places across the admin for some
"red" action links. It is worth simplifying this rule for further improvements
related to color contrast.

  • simplifies a non-standard styling for the "Remove/Cancel" links in the Menus screen
  • underlines all the "Move to trash/Delete" red links in all the Publish meta boxes
  • fixes CSS classes usage for all the Publish meta boxes primary buttons
  • fixes broken layout for the old Link Manager publish meta box

Props karmatosed, hugobaeta, monikarao, afercia.
Fixes #37969, #37018. See #37448, #37138, #27314.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-comment.php

    r37674 r38616  
    163163</div>
    164164<div id="publishing-action">
    165 <?php submit_button( __( 'Update' ), 'primary', 'save', false ); ?>
     165<?php submit_button( __( 'Update' ), 'primary large', 'save', false ); ?>
    166166</div>
    167167<div class="clear"></div>
Note: See TracChangeset for help on using the changeset viewer.