A couple of minor a11y fixes
Picked up by Axe
This commit is contained in:
@@ -89,7 +89,11 @@ interface HeaderLogoProps {
|
|||||||
|
|
||||||
export function HeaderLogo({ className }: HeaderLogoProps) {
|
export function HeaderLogo({ className }: HeaderLogoProps) {
|
||||||
return (
|
return (
|
||||||
<Link className={classNames(styles.headerLogo, className)} to="/">
|
<Link
|
||||||
|
className={classNames(styles.headerLogo, className)}
|
||||||
|
to="/"
|
||||||
|
aria-label="Element Call Home"
|
||||||
|
>
|
||||||
<Logo />
|
<Logo />
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ export function CopyButton({
|
|||||||
className={className}
|
className={className}
|
||||||
onPress={setCopied}
|
onPress={setCopied}
|
||||||
iconStyle={isCopied ? "stroke" : "fill"}
|
iconStyle={isCopied ? "stroke" : "fill"}
|
||||||
|
aria-label={t("Copy")}
|
||||||
>
|
>
|
||||||
{isCopied ? (
|
{isCopied ? (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user