fix missing aria-label on links / navlinks
This commit is contained in:
parent
c11b73d117
commit
b595021a7f
1 changed files with 3 additions and 0 deletions
|
@ -153,6 +153,7 @@ const Button = forwardRef<any, {}>((props: Props, ref: any) => {
|
|||
className={combinedClassName}
|
||||
title={title}
|
||||
onClick={onClick}
|
||||
aria-label={ariaLabel}
|
||||
>
|
||||
{content}
|
||||
</a>
|
||||
|
@ -199,6 +200,7 @@ const Button = forwardRef<any, {}>((props: Props, ref: any) => {
|
|||
disabled={disable}
|
||||
className={combinedClassName}
|
||||
activeClassName={activeClass}
|
||||
aria-label={ariaLabel}
|
||||
>
|
||||
{content}
|
||||
</NavLink>
|
||||
|
@ -219,6 +221,7 @@ const Button = forwardRef<any, {}>((props: Props, ref: any) => {
|
|||
}}
|
||||
className={combinedClassName}
|
||||
activeClassName={activeClass}
|
||||
aria-label={ariaLabel}
|
||||
{...otherProps}
|
||||
>
|
||||
{content}
|
||||
|
|
Loading…
Reference in a new issue