What happened?
Description
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
What happened?
Description
When you upload an image to Assets, it is
hasAltasfalseby default. When you add text, it goes totrue, but removing the text doesn't go back tofalseSteps to reproduce
hasAlthasAlthasAltExpected behavior
hasAltis falsehasAltis truehasAltis falseActual behavior
hasAltis falsehasAltis truehasAltis 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