If the alt attribute is not set for the original image, the inserted image's alt attribute is set to 'undefined'.

CommentFileSizeAuthor
#2 eii_alt_title_undefined.patch2 KBdboulet

Comments

dboulet’s picture

Title: Image alt attribute is 'undefined' » Image alt and title attributes are 'undefined'

Same goes for the title attribute.

dboulet’s picture

Status: Active » Needs review
StatusFileSize
new2 KB

Here is my first attempt at a fix. alt and title attributes of the inserted image are now blank if values cannot be found. This also provides a fix for #365552: Why the js didn't use the title image content?.

avpaderno’s picture

Status: Needs review » Closed (won't fix)

The module has been discontinued (see #665298: Deprecate Easy Image Insert module).