WebAIM - Web Accessibility In Mind

E-mail List Archives

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

for

From: Paul J. Adam
Date: May 16, 2013 11:41AM


This will help, http://blog.paciellogroup.com/2012/06/html5-accessibility-chops-aria-rolealert-browser-support/ Method 4 has the widest support.

I made a simple tooltip demo based on Method 4 that uses alert role to automatically announce tooltip content on focus, http://pauljadam.com/demos/tooltips.html

Paul J. Adam
Accessibility Evangelist
www.deque.com

On May 16, 2013, at 9: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
>
> > >