No. Adding alt text to images is not mandatory. There are many occasions when you don’t need to add alt attributes at all such as designing purposes.