E-mail List Archives
Re: [External Sender]Use of label without input
From: glen walker
Date: Nov 15, 2019 12:07PM
- Next message: Mallory: "Re: [External Sender]Use of label without input"
- Previous message: Brian Lovely: "Re: [External Sender] Use of label without input"
- Next message in Thread: Mallory: "Re: [External Sender]Use of label without input"
- Previous message in Thread: Brian Lovely: "Re: [External Sender] Use of label without input"
- View all messages in this Thread
Depends what you mean by "legit". The list of "labelable elements" does
not show that a fieldset can be labeled by a <label> element. Look at the
last column of the table in
https://www.w3.org/TR/html53/sec-forms.html#labelable-element.
You'll get a parsing error if you try something like this:
<label for="stuff">hello</label>
<fieldset id="stuff"></fieldset>
On Fri, Nov 15, 2019 at 11:56 AM Brian Lovely via WebAIM-Forum <
<EMAIL REMOVED> > wrote:
> So it looks like it's perfectly legit to use a label instead of a legend as
> the group label of a fieldset element.
>
>
>
- Next message: Mallory: "Re: [External Sender]Use of label without input"
- Previous message: Brian Lovely: "Re: [External Sender] Use of label without input"
- Next message in Thread: Mallory: "Re: [External Sender]Use of label without input"
- Previous message in Thread: Brian Lovely: "Re: [External Sender] Use of label without input"
- View all messages in this Thread