WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: span in place of label?

for

From: Tomlins Diane
Date: Jun 15, 2016 1:27PM


Thank you for the confirmation Steve and Birkir. That was my stance, that it has to have a label to pass and an html tag is easy enough. We have to recertify this application for Meaninful Use 2 (Level A only), how they got this point passed last year I do not know. I wasn't involved in it at all then, they used a 3rd party.

I too am wondering why they are showing something different to screen readers, it doesn't make any sense, given the rest of the text on the page. If I'm lucky, I can get them to change this for the next release ;)

Diane R Tomlins
HCA IT&S | Digital Media
Web Development Specialist


>Hi Diane, it is not. All controls must have an accessible name (label) in this case the label is not associated with the control it labels. Suggest >getting rid of the SR only span and adding <label> around visible text and associating the label to the control using for/id attributes.
Regards

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