I suggest adding an empty argument alt.
+ alt=""
I believe Discourse only adds alt if the person making the post includes it.
Markdown with alt:
HTML with alt:
No alt:
https://d11a6trkgmumsb.cloudfront.net/user_avatar/meta.discourse.org/stranik/45/57671_1.png