From 0e27fe51827a6924d1486d9d7978ab40c1214179 Mon Sep 17 00:00:00 2001 From: Adam Zielinski Date: Thu, 5 Oct 2023 12:27:59 +0200 Subject: [PATCH] Accessibility: Font contrast in the URL bar (#659) Form elements are required to have a contrast of at least 4.5, and the URL bar has a contrast of 4.2 between the background color and the font color. This commit makes the font lighter to satisfy the requirements. To test, install axeDevtools and confirm the contrast issue is no longer reported. Related: #612 --- .../website/src/components/address-bar/style.module.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playground/website/src/components/address-bar/style.module.css b/packages/playground/website/src/components/address-bar/style.module.css index 11afb6ed78..d327a2184c 100644 --- a/packages/playground/website/src/components/address-bar/style.module.css +++ b/packages/playground/website/src/components/address-bar/style.module.css @@ -27,7 +27,7 @@ border: 0; background: #40464d; border-radius: 8px; - color: #a5afbc; + color: #b4becb; transition: color 0.5s ease; }