When #title_display is set to 'invisible' the rendered label is hidden by setting the class to .element-invisible. Should a designer wish to expose all of these labels they would need to override .element-invisible, and expose all elements that use this class.

We should use a specific class, such as .label-invisible, with the same CSS properties as .element-invisible, so that designers can choose to expose the hidden labels, without exposing all elements that use .element-invisible.

Comments

bowersox’s picture

I see what you mean about themers wanting to expose labels only. However, I'm thinking that they can do that currently with CSS like this:

.form-item label.element-invisible {
  clip: auto;
  position: static;
}

I tried this out on my local site and it makes the levels visible. Does that accomplish what you're hoping for?

damien tournoud’s picture

Status: Active » Closed (won't fix)

Agreed.