From 60e3ad2a4bd91b4d9e62259e64d5f8838c23ddeb Mon Sep 17 00:00:00 2001 From: Madhura Date: Fri, 27 Mar 2026 11:35:14 +0000 Subject: [PATCH] Fix the altText issue for gallery images --- src/app/components/content/IsaacFeaturedProfile.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}