Earlier quoted context omitted.
Do you mean like that? Empty quotes and it would not be read?
Exactly. Every img element should have an alt attribute; those with visual content should have explanatory text in it.
Let's see. If we use an image that doesn't add anything to the content, one would normally use background-attachment to add an image to say, the hero section.
(It seems you edited your comment?)
Good to know that the screen reader would try to read the file name if there isn't any alt text in it, I didn't know that. So, in the cases we do need to place an img in the document, then we simple place an empty alt text as in my above comment to tell the screen reader not to read the file name since it is only used for decorative purposes...?
Edit: I confused your comment with another one.