E-mail List Archives
Re: Use of label without input
From: glen walker
Date: Nov 15, 2019 11:45AM
- Next message: Brian Lovely: "Re: [External Sender] Use of label without input"
- Previous message: glen walker: "Re: wondering how to get in to the accessibility testing field full time"
- Next message in Thread: Brian Lovely: "Re: [External Sender] Use of label without input"
- Previous message in Thread: Carly Gerard: "Re: Use of label without input"
- View all messages in this Thread
I find it silly to use a <label> if you're not labeling anything. You
don't get any extra semantic info from using that element by itself.
The official html spec for the label,
https://www.w3.org/TR/html53/sec-forms.html#the-label-element, says it
should be used with a "labelable element". A list of labelable elements is
provide at https://www.w3.org/TR/html53/sec-forms.html#labelable-element
(which is the same url as the <label> spec but further up the page).
- Next message: Brian Lovely: "Re: [External Sender] Use of label without input"
- Previous message: glen walker: "Re: wondering how to get in to the accessibility testing field full time"
- Next message in Thread: Brian Lovely: "Re: [External Sender] Use of label without input"
- Previous message in Thread: Carly Gerard: "Re: Use of label without input"
- View all messages in this Thread