WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: using "label for=" on things other than inputs

for

From: Steve Faulkner
Date: Feb 23, 2016 7:09AM


On 22 February 2016 at 18:22, Jonathan Avila < <EMAIL REMOVED> >
wrote:

> Steve, the API document also doesn't seem to indicate label can be used
> for input type button, reset, submit, and image. This is the
> traditionally understood approach. However you mention the HTML5 spec
> allows all input to be labelled yet the spec only appears to call out type
> hidden. Is this also a bug from the Accessibility API spec or did I miss
> something? Just wanted to confirm.


hi Jon, the HTML5 spec defines that any input, apart from type=hidden, can
be labelled using the label element.

--

Regards

SteveF
Current Standards Work @W3C
<http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>;