From edb4be7c0f7c1157f140d20a9a59dfd9d4fc6399 Mon Sep 17 00:00:00 2001 From: Kris Date: Mon, 27 Jan 2025 17:33:14 -0500 Subject: [PATCH] A11Y: fix color issue with delete topic button in WCAG palette (#31023) Reported here: https://meta.discourse.org/t/wcag-high-contrast-color-palettes-for-low-vision/168795/30 Before: ![image](https://github.com/user-attachments/assets/01ac2eca-0ccc-4220-bfa4-d0821f25aa84) After: ![image](https://github.com/user-attachments/assets/f7ebb673-1eec-4660-bb20-7e3c09e5464b) --- app/assets/stylesheets/wcag.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/wcag.scss b/app/assets/stylesheets/wcag.scss index 8020210c691..5817c4a20d5 100644 --- a/app/assets/stylesheets/wcag.scss +++ b/app/assets/stylesheets/wcag.scss @@ -31,7 +31,7 @@ html.discourse-no-touch { .btn-icon.ok, .btn-icon.cancel, - .btn-danger:not(.btn-flat, .btn-transparent) { + .btn-danger:not(.btn-flat, .btn-transparent, .popup-menu-btn-danger) { .d-icon { color: var(--secondary); }