You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you upload an image to Assets, it is hasAlt as false by default. When you add text, it goes to true, but removing the text doesn't go back to false
Steps to reproduce
Upload an empty image
Observe value of hasAlt
Add some text to alt
Observe value of hasAlt
Remove all of the text
Observe value of hasAlt
Expected behavior
Upload an empty image
Observe that hasAlt is false
Add some text to alt
Observe that hasAlt is true
Remove all of the text
Observe hasAlt is false
Actual behavior
Upload an empty image
Observe that hasAlt is false
Add some text to alt
Observe that hasAlt is true
Remove all of the text
Observe hasAlt is still true
Craft CMS version
5.4.4
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered:
What happened?
Description
When you upload an image to Assets, it is
hasAlt
asfalse
by default. When you add text, it goes totrue
, but removing the text doesn't go back tofalse
Steps to reproduce
hasAlt
hasAlt
hasAlt
Expected behavior
hasAlt
is falsehasAlt
is truehasAlt
is falseActual behavior
hasAlt
is falsehasAlt
is truehasAlt
is still trueCraft CMS version
5.4.4
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: