ChannelThumbnail: remove alt text to prevent from being used as search result (#1687)
1684 While Lighthouse suggests adding `alt`, I think it's just a recommendation that does not affect the Core Vitals score directly -- the large css plays a bigger role at the moment. Also, these are more "decorative" than "functional", because one could click the channel name navigate.
This commit is contained in:
parent
56de3fdd13
commit
94d5c11a71
1 changed files with 0 additions and 1 deletions
|
@ -121,7 +121,6 @@ function ChannelThumbnail(props: Props) {
|
|||
>
|
||||
{/* width: use the same size for all 'small' variants so that caching works better */}
|
||||
<OptimizedImage
|
||||
alt={__('Channel profile picture')}
|
||||
className={!channelThumbnail ? 'channel-thumbnail__default' : 'channel-thumbnail__custom'}
|
||||
src={(!thumbLoadError && channelThumbnail) || defaultAvatar}
|
||||
width={xxsmall || xsmall || small ? 64 : 160}
|
||||
|
|
Loading…
Reference in a new issue