add a required alt attribute to an image