0

When an image fails to load on a page, the behaviour of Firefox seems to be to show its alt text if that attribute exists, otherwise it shows the broken image icon. This isn't ideal as the alt text attribute can exist but be empty. Is there any way for a user to force it to show the broken image icon even when the image has alt text, like Chrome's behaviour?

Edit: Probably should have made clearer that what I meant was showing both the broken image icon and the alt text, rather than just the alt text (which would yield nothing when it's an empty string), i.e. the point isn't to remove the alt text but just to display the broken image icon along with it.

o c
  • 89
  • 1
  • 6

0 Answers0