Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/app/components/content/IsaacFeaturedProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ interface IsaacFeaturedProfileProps {
export const IsaacFeaturedProfile = ({ doc, contentIndex }: IsaacFeaturedProfileProps) => {
const path = doc.image && doc.image.src && apiHelper.determineImageUrl(doc.image.src);
const summary = doc.children && doc.children[0];
const profileImageAlt = doc.image?.altText || (doc.title ? `${doc.title} profile image` : "Profile image");

return (
<div
Expand All @@ -20,7 +21,7 @@ export const IsaacFeaturedProfile = ({ doc, contentIndex }: IsaacFeaturedProfile
}`}
>
<div>
<img className="profile-image" src={path} alt="" />
<img className="profile-image" src={path} alt={profileImageAlt} />
</div>
<Row className="profile-titles">
<Col>
Expand Down
Loading