From 3ea112470e29c07ef72cc978947c2853ef0f0ade Mon Sep 17 00:00:00 2001 From: Sat Naing Date: Sat, 17 Sep 2022 01:04:48 +0630 Subject: [PATCH] Add aria-label and title attributes --- src/components/LinkButton.astro | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/LinkButton.astro b/src/components/LinkButton.astro index b305067..a21cb38 100644 --- a/src/components/LinkButton.astro +++ b/src/components/LinkButton.astro @@ -2,12 +2,20 @@ export interface Props { href: string; className?: string; + ariaLabel?: string; + title?: string; } -const { href, className } = Astro.props; +const { href, className, ariaLabel, title } = Astro.props; --- - +