Merge pull request #729 from vector-im/dbkr/minor_a11y_fixes
A couple of minor a11y fixes
This commit is contained in:
commit
7444763008
3 changed files with 10 additions and 1 deletions
|
|
@ -31,6 +31,7 @@
|
||||||
"Confirm password": "Confirm password",
|
"Confirm password": "Confirm password",
|
||||||
"Connection lost": "Connection lost",
|
"Connection lost": "Connection lost",
|
||||||
"Copied!": "Copied!",
|
"Copied!": "Copied!",
|
||||||
|
"Copy": "Copy",
|
||||||
"Copy and share this call link": "Copy and share this call link",
|
"Copy and share this call link": "Copy and share this call link",
|
||||||
"Create account": "Create account",
|
"Create account": "Create account",
|
||||||
"Debug log": "Debug log",
|
"Debug log": "Debug log",
|
||||||
|
|
@ -40,6 +41,7 @@
|
||||||
"Developer": "Developer",
|
"Developer": "Developer",
|
||||||
"Display name": "Display name",
|
"Display name": "Display name",
|
||||||
"Download debug logs": "Download debug logs",
|
"Download debug logs": "Download debug logs",
|
||||||
|
"Element Call Home": "Element Call Home",
|
||||||
"Entering room…": "Entering room…",
|
"Entering room…": "Entering room…",
|
||||||
"Exit full screen": "Exit full screen",
|
"Exit full screen": "Exit full screen",
|
||||||
"Fetching group call timed out.": "Fetching group call timed out.",
|
"Fetching group call timed out.": "Fetching group call timed out.",
|
||||||
|
|
|
||||||
|
|
@ -88,8 +88,14 @@ interface HeaderLogoProps {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function HeaderLogo({ className }: HeaderLogoProps) {
|
export function HeaderLogo({ className }: HeaderLogoProps) {
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Link className={classNames(styles.headerLogo, className)} to="/">
|
<Link
|
||||||
|
className={classNames(styles.headerLogo, className)}
|
||||||
|
to="/"
|
||||||
|
aria-label={t("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 ? (
|
||||||
<>
|
<>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue