Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Revisit Button Group HTML #3264

Open
Open
@kwinters

Description

@kwinters

In 7727341 the button group code was changed from buttons to labels, Closes #1323. Closes #1482

But I think it's time to revisit that decision (2013).

http://getbootstrap.com/javascript/#buttons-checkbox-radio uses a label and an input, and none of the examples in http://getbootstrap.com/components/#btn-groups have labels at all.

The above commit's message is "Align with BS3 markup." but the code does not meet that goal, at least anymore. From the other threads, it looks like the example started with the input + label format and then determined that the inputs were not required, ending up with just label. However it appears that the typical usage is to use either actual buttons or divs, not orphaned labels.

And I think that the use of labels in this way should be discouraged in general. Labels tend to have styling associated with them that are not appropriate for an element that acts like a button.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions