Make WordPress Core

Changeset 51891


Ignore:
Timestamp:
10/05/2021 08:30:11 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Accessibility: Privacy: Use red color for action buttons on the Erase Personal Data screen:

  • "Erase Personal Data" button in the Next Steps column.
  • "Force Erase Personal Data" row action.

This highlights the destructive nature of those buttons to avoid an accidental erasure, and is consistent with other similar UI elements in the admin, e.g. various "Delete", "Spam", or "Trash" buttons.

Props arena, sabernhardt, carike, azaozz, joedolson, audrasjb, SergeyBiryukov.
Fixes #49603.

File:
1 edited

Legend:

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

    r51727 r51891  
    884884#nav-menu-footer .menu-delete,
    885885#delete-link a.delete,
    886 a#remove-post-thumbnail {
     886a#remove-post-thumbnail,
     887.privacy_requests .remove-personal-data .remove-personal-data-handle {
    887888    color: #b32d2e;
    888889}
     
    902903#nav-menu-footer .menu-delete:hover,
    903904#delete-link a.delete:hover,
    904 a#remove-post-thumbnail:hover {
     905a#remove-post-thumbnail:hover,
     906.privacy_requests .remove-personal-data .remove-personal-data-handle:hover {
    905907    color: #b32d2e;
    906908    border: none;
Note: See TracChangeset for help on using the changeset viewer.