Screan reader run javascript? If not, why bother with this mod?
Setting alt to "hide alt" hint "in IE <8, which seems to be all you need. Plus it should be done anyway for the whole image, or screen readers have a habit of rendering default placeholder speech" If you set it to blank, it will not bother and skip it, ideal for images that are just used for design and not for content.
Unfortunately, there is no special flag or switch that you can scroll through JS or any other method to say that IE behaves differently in this regard, which I believe you are asking.
An alternative is to switch any alt that you find in the images to be headers, but this does not eliminate the tooltips, you just make them appear in all browsers, not just IE.
So, the last fix is ββto just clear all the alt attributes in the images (and there are scripts in the other answers that do just that). You asked a question, but I think you should think about what exactly are you trying to achieve, and more importantly, why is this important?
source share