WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: [External Sender]Use of label without input

for

From: Brian Lovely
Date: Nov 15, 2019 12:36PM


Oh Glen, you are so right, thanks for pointing that out. I totally missed
that column

On Fri, Nov 15, 2019 at 2:08 PM glen walker < <EMAIL REMOVED> > wrote:

> 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://urldefense.com/v3/__https://www.w3.org/TR/html53/sec-forms.html*labelable-element__;Iw!0Ns9_1dOjwg!I668vx4gU8CYeJJSVck_raxxrCiynUIPJUs61sKi6_a_ohpRpZzvYfciiddcCnz-gaIlQA$
> .
>
> 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.
> >
> >
> >
> > > https://urldefense.com/v3/__http://list.webaim.org/__;!0Ns9_1dOjwg!I668vx4gU8CYeJJSVck_raxxrCiynUIPJUs61sKi6_a_ohpRpZzvYfciiddcCnyR4DZieA$
> List archives at
> https://urldefense.com/v3/__http://webaim.org/discussion/archives__;!0Ns9_1dOjwg!I668vx4gU8CYeJJSVck_raxxrCiynUIPJUs61sKi6_a_ohpRpZzvYfciiddcCnw-YlXURw$
> >


--
*Brian Lovely*
Capital One Digital Accessibility
804.389.1064




The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.