Change compiler API to use a SetTag function
Update tests, set title= as well as alt= on imgs