Alt validation error is shown when no image attached

Created on 14 January 2022, about 3 years ago
Updated 8 October 2023, over 1 year ago

Problem/Motivation

For forms which have attached image field (not media image field) when image field is marked as non-required and "Force image to be marked decorative if no alt text provided" is checked for the field, there is displayed 'You must provide alternative text or indicate the image is decorative.' error message. That prevents form from being saved.

Steps to reproduce

* For node type add field image field
* Set Alt field optional
* In Form Display enable for the field "Force image to be marked decorative if no alt text provided"
* Add new node, but without adding image.
* 'You must provide alternative text or indicate the image is decorative.' error message will be shown.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡΅πŸ‡±Poland relim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024