I wish omitting alt text was the equivalent of empty alt text.
Nothing else works this way. If a page doesn't have a favicon, you don't add an empty icon href.
I know empty alt text is preferred because otherwise, screen readers will usually revert to reading the file name. But I wish screen readers didn't do that.
Does that work though? If you don't care about accessibility, you can still leave out the tags. Screen readers will then default to reading the file name, which I'd argue is worse than skipping over images in the general case.
Nothing else works this way. If a page doesn't have a favicon, you don't add an empty icon href.
I know empty alt text is preferred because otherwise, screen readers will usually revert to reading the file name. But I wish screen readers didn't do that.