From 93cdbe4b718f9f7a2cd0d6efc545ec51d049812f Mon Sep 17 00:00:00 2001 From: Stephen Kraus <8003332+stephenmk@users.noreply.github.com> Date: Fri, 22 Dec 2023 19:17:17 -0600 Subject: Add support for alt attribute on structured content images (#359) * Add support for alt attribute on structured content images * Add new `alt` property for structured content images * Update test script with new media file count --------- Co-authored-by: stephenmk --- types/ext/structured-content.d.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'types') diff --git a/types/ext/structured-content.d.ts b/types/ext/structured-content.d.ts index 572b827a..2144cd84 100644 --- a/types/ext/structured-content.d.ts +++ b/types/ext/structured-content.d.ts @@ -133,6 +133,10 @@ export type ImageElementBase = { * Hover text for the image. */ title?: string; + /** + * Alt text for the image. + */ + alt?: string; /** * Description of the image. */ -- cgit v1.2.3