I absolutely hate those, but the HTML spec does require the alt attribute which is actually used in practice quite commonly.
I've never read the HTML spec directly until checking it now to verify your comment. I usually use MDN, which says that the alt attribute is not mandatory. [1]