Commit be25237a12b for woocommerce
commit be25237a12bbe537de4b72352417289e445edc98
Author: Poli Gilad <83961704+poligilad-auto@users.noreply.github.com>
Date: Fri Jun 12 12:45:25 2026 +0200
Fix metabox delete link contrast (#65605)
* Fix metabox delete link contrast
* Add changelog entry for metabox contrast fix
diff --git a/plugins/woocommerce/changelog/63793-fix-wcag-metabox-delete-contrast b/plugins/woocommerce/changelog/63793-fix-wcag-metabox-delete-contrast
new file mode 100644
index 00000000000..ae490580057
--- /dev/null
+++ b/plugins/woocommerce/changelog/63793-fix-wcag-metabox-delete-contrast
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Fix: Improve color contrast for delete link in .wc-metabox to meet WCAG 2.2 AA requirements (SC 1.4.3)
diff --git a/plugins/woocommerce/client/legacy/css/admin.scss b/plugins/woocommerce/client/legacy/css/admin.scss
index 6804c3ff89e..7b0ff97f4d1 100644
--- a/plugins/woocommerce/client/legacy/css/admin.scss
+++ b/plugins/woocommerce/client/legacy/css/admin.scss
@@ -6561,7 +6561,7 @@ img.help_tip {
}
a.delete {
- color: red;
+ color: var(--wc-destructive, #cc1818);
font-weight: normal;
line-height: 26px;
text-decoration: none;