From 1b345085fdac03cb706301ce3692f70ec7886fdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Str=C3=B6mberg?= Date: Tue, 26 Nov 2024 07:20:42 +0100 Subject: [PATCH] Add description for image icons related to links in Document Handler (#1562) --- .../utils/ContentComponentFactory.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/apps/client/src/plugins/DocumentHandler/utils/ContentComponentFactory.js b/apps/client/src/plugins/DocumentHandler/utils/ContentComponentFactory.js index bcd8655c1..dfd70b48c 100644 --- a/apps/client/src/plugins/DocumentHandler/utils/ContentComponentFactory.js +++ b/apps/client/src/plugins/DocumentHandler/utils/ContentComponentFactory.js @@ -498,6 +498,7 @@ export const Video = ({ imgTag, componentId, baseUrl }) => { position: imgTag.dataset.imagePosition, source: imgTag.dataset.source, url: imgTag.src, + altValue: imgTag.alt, id: `video_${componentId}`, }; @@ -540,6 +541,7 @@ export const Video = ({ imgTag, componentId, baseUrl }) => {