Fixes #6941: add alt attribute to images