From b595021a7f88150c6302e76dbf2dab0cf1c4244d Mon Sep 17 00:00:00 2001 From: btzr-io Date: Tue, 13 Jul 2021 16:38:50 -0500 Subject: [PATCH] fix missing aria-label on links / navlinks --- ui/component/button/view.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/component/button/view.jsx b/ui/component/button/view.jsx index 736f5dfea..c9a3ca999 100644 --- a/ui/component/button/view.jsx +++ b/ui/component/button/view.jsx @@ -153,6 +153,7 @@ const Button = forwardRef((props: Props, ref: any) => { className={combinedClassName} title={title} onClick={onClick} + aria-label={ariaLabel} > {content} @@ -199,6 +200,7 @@ const Button = forwardRef((props: Props, ref: any) => { disabled={disable} className={combinedClassName} activeClassName={activeClass} + aria-label={ariaLabel} > {content} @@ -219,6 +221,7 @@ const Button = forwardRef((props: Props, ref: any) => { }} className={combinedClassName} activeClassName={activeClass} + aria-label={ariaLabel} {...otherProps} > {content}