Backport of #6199 to v2.3.0

Since Bootstrap v3.0 will probably take a while, and I'd like to use `fieldset[disabled]` ASAP.

X-Ref: #6199