adds `visible` attribute to `<labels>` and `<label>` tags