diff --git a/src/app/components/content/IsaacFeaturedProfile.tsx b/src/app/components/content/IsaacFeaturedProfile.tsx index df8c93b2fa..5cff640fdb 100644 --- a/src/app/components/content/IsaacFeaturedProfile.tsx +++ b/src/app/components/content/IsaacFeaturedProfile.tsx @@ -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 (
- + {profileImageAlt}