From cabf30bc8e030015daee065c401dcf83814a6e8b Mon Sep 17 00:00:00 2001 From: satnaing Date: Fri, 25 Nov 2022 22:22:24 +0630 Subject: [PATCH] fix(a11y): improve breadcrumb to be more accessible when using with voiceover Move seperator from CSS :before to HTML span element. Hide seperator on voiceover. Update style for that seperator. --- src/components/Breadcrumbs.astro | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/components/Breadcrumbs.astro b/src/components/Breadcrumbs.astro index b8349e9..520939b 100644 --- a/src/components/Breadcrumbs.astro +++ b/src/components/Breadcrumbs.astro @@ -14,7 +14,10 @@ breadcrumbList[0] === "posts" &&