XF 1.3 How to add ALT attribute to images?

I have 2 issues.
1) I want to add option to IMG bb code so that I can fill ALT attribute.

2) Also I want to define ALT for attached images as well. But I'm not sure that it could be done via bb code manager.