mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Improve auth aria attributes and semantics (#22948)
This commit is contained in:
parent
f4480c9968
commit
0f88d86c89
@ -37,10 +37,10 @@ const VectorAuthFooter = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="mx_AuthFooter">
|
<footer className="mx_AuthFooter" role="contentinfo">
|
||||||
{ authFooterLinks }
|
{ authFooterLinks }
|
||||||
<a href="https://matrix.org" target="_blank" rel="noreferrer noopener">{ _t('Powered by Matrix') }</a>
|
<a href="https://matrix.org" target="_blank" rel="noreferrer noopener">{ _t('Powered by Matrix') }</a>
|
||||||
</div>
|
</footer>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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";
|
const logoUrl = brandingConfig?.get("auth_header_logo_url") ?? "themes/element/img/logos/element-logo.svg";
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="mx_AuthHeaderLogo">
|
<aside className="mx_AuthHeaderLogo">
|
||||||
<img src={logoUrl} alt="Element" />
|
<img src={logoUrl} alt="Element" />
|
||||||
</div>
|
</aside>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user