From 00cd14f13b38f67486b47f373b6dcc120fe262ba Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 17 Aug 2026 15:52:56 +1000 Subject: [PATCH] Docs: TINYMCE-13738 - Image with empty alt text would add role="presentation" instead of adding alt text when updated --- modules/ROOT/pages/8.9.0-release-notes.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/ROOT/pages/8.9.0-release-notes.adoc b/modules/ROOT/pages/8.9.0-release-notes.adoc index 30243b6272..45ce3f4d89 100644 --- a/modules/ROOT/pages/8.9.0-release-notes.adoc +++ b/modules/ROOT/pages/8.9.0-release-notes.adoc @@ -160,6 +160,13 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a // CCFR here. +=== Image with empty alt text would add `+role="presentation"+` instead of adding alt text when updated +// #TINYMCE-13738 + +Previously, the xref:image.adoc[Image] plugin treated any image with an empty `+alt+` attribute as decorative. When xref:image.adoc#a11y_advanced_options[`+a11y_advanced_options+`] was disabled, the _Insert/Edit Image_ dialog did not show the *Image is decorative* option, so the dialog offered no way to change that state. Entering alternative text for such an image and saving the dialog applied `+role="presentation"+` and left the `+alt+` attribute empty, discarding the text that had been entered. + +In {productname} {release-version}, the Image plugin marks an image as decorative only when the _Insert/Edit Image_ dialog presents the accessibility options. Entering alternative text for an image with an empty `+alt+` attribute now applies that text to the image. + [[security-fixes]] == Security fixes