Improve auth aria attributes and semantics (#22948)

This commit is contained in:
Michael Telatynski 2022-07-28 14:00:34 +01:00 committed by GitHub
parent f4480c9968
commit 0f88d86c89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -37,10 +37,10 @@ const VectorAuthFooter = () => {
}
return (
<div className="mx_AuthFooter">
<footer className="mx_AuthFooter" role="contentinfo">
{ authFooterLinks }
<a href="https://matrix.org" target="_blank" rel="noreferrer noopener">{ _t('Powered by Matrix') }</a>
</div>
</footer>
);
};

View file

@ -24,9 +24,9 @@ export default class VectorAuthHeaderLogo extends React.PureComponent {
const logoUrl = brandingConfig?.get("auth_header_logo_url") ?? "themes/element/img/logos/element-logo.svg";
return (
<div className="mx_AuthHeaderLogo">
<aside className="mx_AuthHeaderLogo">
<img src={logoUrl} alt="Element" />
</div>
</aside>
);
}
}