[wp-trac] [WordPress Trac] #21373: Unify <label>s in options-discussion.php
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 23 08:10:09 UTC 2012
#21373: Unify <label>s in options-discussion.php
----------------------------+--------------------
Reporter: Latz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.5
Component: Administration | Version: 3.4.1
Severity: minor | Resolution:
Keywords: needs-patch |
----------------------------+--------------------
Comment (by obenland):
Replying to [comment:4 helenyhou]:
> Label can't wrap multiple input elements. Not sure what the right
solution is, but that's not it.
As far as I can tell from W3C docs for the `label` element in
[http://www.w3.org/TR/html401/interact/forms.html#h-17.9.1 HTML4.01] and
[http://www.w3.org/TR/2012/WD-html5-20120329/the-label-element.html#the-
label-element HTML5], it should be all good, as long as a control is
explicitly associated through the `for` attribute.
On a different note, I agree with @lightningspirit. By splitting up the
sentences we'd not only gain `label` sanity but probably also contribute
to a little cleaner settings page.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21373#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list