A couple of minor a11y fixes

Picked up by Axe
This commit is contained in:
David Baker 2022-11-04 18:31:21 +00:00
parent cafac39733
commit 5c8562088d
2 changed files with 6 additions and 1 deletions

View file

@ -89,7 +89,11 @@ interface HeaderLogoProps {
export function HeaderLogo({ className }: HeaderLogoProps) {
return (
<Link className={classNames(styles.headerLogo, className)} to="/">
<Link
className={classNames(styles.headerLogo, className)}
to="/"
aria-label="Element Call Home"
>
<Logo />
</Link>
);

View file

@ -48,6 +48,7 @@ export function CopyButton({
className={className}
onPress={setCopied}
iconStyle={isCopied ? "stroke" : "fill"}
aria-label={t("Copy")}
>
{isCopied ? (
<>