From 5a67afc6b25af119b7115a9e2071f7d4a7a1f3b5 Mon Sep 17 00:00:00 2001 From: satnaing Date: Sat, 26 Nov 2022 20:09:37 +0630 Subject: [PATCH] refactor(a11y): add aria-hidden in horizontal divider (
) --- src/components/Hr.astro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Hr.astro b/src/components/Hr.astro index eb3d463..d7e835b 100644 --- a/src/components/Hr.astro +++ b/src/components/Hr.astro @@ -1,11 +1,12 @@ --- export interface Props { noPadding?: boolean; + ariaHidden?: boolean; } -const { noPadding = false } = Astro.props; +const { noPadding = false, ariaHidden = true } = Astro.props; ---
-
+