Steps to replicate the issue (include links if applicable):
See example: https://www.mediawiki.org/w/index.php?title=Talk_pages_project/Usability&diff=prev&oldid=6041398
What happens?:
VisualEditor removes <translate> tags from alt attributes of images
What should have happened instead?:
<translate> tags should have been kept as is.