WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Another example of role="alert" not being read by NVDA

for

From: Angela French
Date: May 16, 2013 9:55AM


Interesting. Has anyone else experienced this? My developer is out today, so I can't test this yet.

Angela French

>-----Original Message-----
>From: <EMAIL REMOVED> [mailto:webaim-forum-
> <EMAIL REMOVED> ] On Behalf Of Susan Grossman
>Sent: Thursday, May 16, 2013 8:49 AM
>To: WebAIM Discussion List
>Subject: Re: [WebAIM] Another example of role="alert" not being read by NVDA
>
>I would question the use of a role in a span tag.
>
>Have you tried replacing it with a block element like <p> or <div> and see if it
>works then? We have come across issues when employing the span tag, which is
>really more for styling, for purposes other than style.
>
>
>On Thu, May 16, 2013 at 7:57 AM, Angela French < <EMAIL REMOVED> > wrote:
>
>> Below is another example from our application of a form field where
>> the user, upon form submit, it not being notified of the validation
>> error. For this example I have only removed class attributes and
>> values to make it easier to read. Can anyone tell me what we are doing wrong
>please?
>>
>>
>> <label for="ctl00_ContentPlaceHolder1_txtLName"
>> id="ctl00_ContentPlaceHolder1_lblLName" ><span >*</span> Last
>> Name:</label> <input name="ctl00$ContentPlaceHolder1$txtLName"
>type="text"
>> id="ctl00_ContentPlaceHolder1_txtLName" placeholder="required"
>> aria-required="true" aria-labelledby="rfvLName" /> <span id="rfvLName"
>> role="alert" >Last name required</span>
>>
>> Angela French
>> Internet Specialist
>> State Board for Community and Technical Colleges
>> 360-704-4316
>> <EMAIL REMOVED>
>> http://www.checkoutacollege.com/
>> http://www.sbctc.edu
>>
>> >> >> list messages to <EMAIL REMOVED>
>>
>
>
>
>--
>*Susan R. Grossman*
> <EMAIL REMOVED>
>>>to <EMAIL REMOVED>