Merge pull request #729 from vector-im/dbkr/minor_a11y_fixes

A couple of minor a11y fixes
This commit is contained in:
David Baker 2022-11-07 14:06:29 +00:00 committed by GitHub
commit 7444763008
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View file

@ -88,8 +88,14 @@ interface HeaderLogoProps {
}
export function HeaderLogo({ className }: HeaderLogoProps) {
const { t } = useTranslation();
return (
<Link className={classNames(styles.headerLogo, className)} to="/">
<Link
className={classNames(styles.headerLogo, className)}
to="/"
aria-label={t("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 ? (
<>