From d8c5a8697b208fc24675a18bd64ffa081d44b6d0 Mon Sep 17 00:00:00 2001 From: Harneet Date: Mon, 31 Mar 2025 09:20:09 -0500 Subject: [PATCH 1/2] Style: replaced outlines with borders for improved accessibility --- src/components/LinkButton/index.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LinkButton/index.astro b/src/components/LinkButton/index.astro index 6657925766..de57d5e05f 100644 --- a/src/components/LinkButton/index.astro +++ b/src/components/LinkButton/index.astro @@ -20,7 +20,7 @@ switch (variant) { --- From dc6499144c2e2a24c014c7c2c6a88d6c20369b54 Mon Sep 17 00:00:00 2001 From: Harneet Date: Mon, 31 Mar 2025 09:28:41 -0500 Subject: [PATCH 2/2] Style: fix search bar outline --- src/components/SearchForm/index.astro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/SearchForm/index.astro b/src/components/SearchForm/index.astro index 67b81db33b..fc5a1e3950 100644 --- a/src/components/SearchForm/index.astro +++ b/src/components/SearchForm/index.astro @@ -10,7 +10,7 @@ const t = await getUiTranslator(currentLocale); action={`${currentLocale === "en" ? "" : `/${currentLocale}`}/search`} method="GET" role="search" - class="relative w-full h-full text-accent-type-color bg-accent-color border-accent-type-color border rounded-[20px] !mx-0" + class="relative w-full h-full text-accent-type-color bg-accent-color rounded-[20px] !mx-0" >
@@ -20,14 +20,14 @@ const t = await getUiTranslator(currentLocale); type="search" placeholder={t("Search") as string} name="term" - class="placeholder-accent-type-color bg-transparent pl-gutter-md py-[6px] md:py-[4px] lg:py-[8px] w-full rounded-[20px] focus:outline-0 peer" + class="border-accent-type-color border outline-offset-0 placeholder-accent-type-color bg-transparent pl-gutter-md py-[6px] md:py-[4px] lg:py-[8px] h-full w-full rounded-[20px] peer" aria-label="Search through site content" required />