FLEXIcontent / flexicontent-cck

Advanced content management for Joomla
http://www.flexicontent.org
82 stars 53 forks source link

Default Alt text for images not working properly #1100

Open lipatovroman opened 1 year ago

lipatovroman commented 1 year ago

Hello! For image field, in Optional Properties we have Alternative Text settings for default value. We can select with 3 modes:

  1. Load when editing new items, (requires saving)
  2. Load when editing all items, (requires saving)
  3. The above & also display it instead of empty

Only the first mode works properly.

When we set default Alt text for images and creating new item, this field has default value from field settings.

2023-04-20 12-16-57

2023-04-20_12-17-40

In the second mode, when we open an existing element with an empty Alt text and save it, the alt text field remains empty.

And finally, the third mode. It is expected that even if the Alt Text field is empty, FlexiContent will use value from the Default Alt Text configuration. But this does not happen.

2023-04-20 12-24-34

2023-04-20 12-25-32

As you can see, only alt without value present on the code.

So, for now, all images without filled alt text will not have alt text in HTML code.