fix html vadidation errors

* use custom `data-t` attribute for translations instead of `t`
* add img alt texts where appropriate
* fix a paragraph extending over the next block element