WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Concern about ASP.NET validators and accessibility

for

From: Karl Groves
Date: Nov 12, 2008 11:30AM


Display: none completely hides the content from everyone, including AT
users.
If it is being used for content which should be revealed to AT users, a
different method (such as positioning offscreen) should be used.

Karl


> -----Original Message-----
> From: <EMAIL REMOVED> [mailto:webaim-forum-
> <EMAIL REMOVED> ] On Behalf Of Angela French
> Sent: Wednesday, November 12, 2008 1:08 PM
> To: <EMAIL REMOVED> ; <EMAIL REMOVED>
> Subject: [WebAIM] Concern about ASP.NET validators and accessibility
>
> Hello,
>
> I need some insight into how screen readers handle the CSS property:
> value for display:none. I some forms that use asp validation controls
> and they hide their potential error messages from sighted users using
> display:none. It is my understanding the most screen readers do not
> read elements that use display:none. I noticed when I test my form
> with
> bad input that when it renders the error message, the source code still
> shows a style of display:none. I'm not sure how it displays to me (a
> sighted person) with display:none, but my big concern is with screen
> reader users who may submit bad input. Do they hear the error message?
>
>
>
> Any assistance on this, especially from asp.net programmers would be
> greatly appreciated.
>
>
>
> Thanks,
>
>
>
> Angela French
>
> Internet Specialist
>
> State Board for Community & Technical Colleges
>
> 360-704-4316
>
> http://www.checkoutacollege.com
>
> http://www.sbctc.ctc.edu
>
>
>
>