Good to know, but don't let it screw up your accessibility. If you want the image at all, then at some point you're going turn display:none off. With a background image, the unsighted users never going to know that the new information has been presented. With an img element, the alt value will let them know.
Good to know, but don't let it screw up your accessibility. If you want the image at all, then at some point you're going turn
display:none
off. With a background image, the unsighted users never going to know that the new information has been presented. With an img element, the alt value will let them know.good point :) Thanks