jquery/jquery-mobile — Issue #3763: Set of horizontal toggle buttons should work with <label> instead of <legend>
Author: marceloverdijk
Created: 2012-03-08 07:35:33+00:00
State: open

Below is the example from the form elements gallery.
For horizontal toggle sets you need to use a
tag to display the label.

As soon as you use a normal then the alignments get messed up.

I wonder what the reason is to use a
here? It is not consistent.
Besides that I'm using a framework (Spring MVC) that prints label elements with custom tags, which use different css for e.g. when a field has an error. But it uses label elements, not legend elements.

```

Layout view:

List

Grid

Gallery

```