WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: One question: regarding label for attribute

for

From: Teresa Haven
Date: Jun 6, 2016 10:32AM


Hi, Aaron. I had that same thing happen, and decided that although it may be annoying, it's still better to have the label read twice than not at all.


Teresa Haven, Ph.D.
Accessibility Analyst, Northern Arizona University



-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Aaron Cannon
Sent: Monday, June 06, 2016 9:26 AM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] One question: regarding label for attribute

I recently heard that wrapping an input tag with a label tag, and also using the for attribute on the label to associate it with the input, will cause VoiceOver on the Mac to read the label twice. I haven't verified this, however. Has anyone else noticed this behavior?

But even if it is true, it's probably better to have it read twice in one screen reader, than not at all in another.

Aaron

On 6/6/16, Steve Faulkner < <EMAIL REMOVED> > wrote:
> On 6 June 2016 at 15:55, 김형섭 < <EMAIL REMOVED> > wrote:
>
>> If I add for attribute in label tag and id attribute in input tag, in
>> above code, is this okay?
>
>
> yes it is perfectly OK to do this.
>
> --
>
> Regards
>
> SteveF
> Current Standards Work @W3C
> <http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w
> 3c/> > > archives at http://webaim.org/discussion/archives
> >