adds form attributes and img alt desc

for validation purposes