Skip to content

Commit

Permalink
Alt tag for images in the Media modal (#2423)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsorohova authored Feb 28, 2024
1 parent 4a51397 commit 6a0c19a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/admin/media/mediaModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ export class MediaModal extends React.Component<MediaModalProps, MediaModalState
</Stack>
<Image
src={thumbnailUrl ?? '/assets/images/no-preview.png'}
alt={mediaItem.fileName}
imageFit={ImageFit.centerCover}
styles={{ root: { flexGrow: 1, marginTop: 10, marginBottom: 20 } }}
shouldStartVisible
Expand Down

0 comments on commit 6a0c19a

Please sign in to comment.