Improve auth aria attributes and semantics (#22948)
This commit is contained in:
parent
f4480c9968
commit
0f88d86c89
2 changed files with 4 additions and 4 deletions
|
@ -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 a new issue