From 06a429b8f090f73ea232dc08fa4e7f127d54cd5f Mon Sep 17 00:00:00 2001 From: Jignesh Bhavani Date: Wed, 5 Aug 2026 02:08:06 +0530 Subject: [PATCH] Privacy: Fix the color contrast of request row action text. The Export and Erase Personal Data tables render progress and result text inside the row actions, where `.privacy_requests .row-actions` set the color to #787c82. Against the #fff cell background that is 4.19:1, below the 4.5:1 minimum for normal text. The affected strings are "Downloading data...", "Download failed.", "Erasing data...", "Erasure completed." and "Force erasure has failed.", along with the separators between the actions. The override is not needed. Every other list table in the admin uses the standard `.row-actions` color, #646970, which is 5.53:1 against the same background. Removing the privacy specific rule brings these two tables in line with the rest of the admin without introducing another color. The color was never chosen for its contrast. It arrived as #72777c in [46264] and became #787c82 in [50025], when admin colors were standardized on a single palette. Props bejignesh, afercia, joedolson. Fixes #65807. --- src/wp-admin/css/forms.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index f7e6accfce0fd..42a07d16fc9f2 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -1499,10 +1499,6 @@ table.form-table td .updated p { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); } -.privacy_requests .row-actions { - color: #787c82; -} - .privacy_requests .row-actions.processing { position: static; }