Skip to content

Commit f4cc8af

Browse files
authored
Alt tag for images in the Media modal (#2423)
1 parent cad0c52 commit f4cc8af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/admin/media/mediaModal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ export class MediaModal extends React.Component<MediaModalProps, MediaModalState
167167
</Stack>
168168
<Image
169169
src={thumbnailUrl ?? '/assets/images/no-preview.png'}
170+
alt={mediaItem.fileName}
170171
imageFit={ImageFit.centerCover}
171172
styles={{ root: { flexGrow: 1, marginTop: 10, marginBottom: 20 } }}
172173
shouldStartVisible

0 commit comments

Comments
 (0)