Add alt text to plugin logos (#30710)

This commit is contained in:
Besart Berisha 2021-01-28 21:39:06 +01:00 committed by GitHub
parent 69a2279bf6
commit 3390c6a852
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ export default class PageHeader extends React.Component<Props, any> {
<div className="page-header__inner">
<span className="page-header__logo">
{main.icon && <Icon name={main.icon as IconName} size="xxxl" className={iconClassName} />}
{main.img && <img className="page-header__img" src={main.img} />}
{main.img && <img className="page-header__img" src={main.img} alt={`logo of ${main.text}`} />}
</span>
<div className="page-header__info-block">