WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: JAWS and Describedby

for

From: Jamous, JP
Date: Sep 14, 2016 2:09PM


I removed the role="alert". The issue remains.

What is happening is that JAWS gets the focus on the text box and goes into forms mode on. The moment I type the first letter, JAWS acts as if it refocused on the text box object.

I even removed one of the IDs and used one with aria-describedby. The issue continued.

I figured maybe because the input type is "password". I changed it to "text" and nothing different.

NVDA and VoiceOver do not do that at all. Even JAWS 17 does not do it with Firefox. Only good old IE 11.




**************************************************

Jean-Pierre Jamous
Digital Accessibility Specialist & Developer
UI Accessibility Team

SME for EBN Include
Digital Accessibility Specialist & Blind and Visually Impaired Expert

The only limitations in life are those we set for ourselves

**************************************************















-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Birkir R. Gunnarsson
Sent: Wednesday, September 14, 2016 2:53 PM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] JAWS and Describedby

Hi
Would role="alert" on the validator span be causing this? I suspect so, but don't have time to test right now.
In any case, I wouldn't use role="alert" on this, use it sparingly and only for critical live region situations, not in a tooltip scenario.



On 9/14/16, Jamous, JP < <EMAIL REMOVED> > wrote:
> Folks,
>
> I know JAWS 17 has issues. I mean personal issues with aria-describedby.
> Yet, what I am observing does not make any darn sense to me. Can
> someone shed any light on this?
>
> JAWS 17 fires up the aria-describedby when the password text box gets focus.
> That's how it should be. However, if I type the first character, JAWS
> fires the aria-describedby again. If I continue to type, JAWS does not
> fire the aria-describedby.
>
> If I switch to Firefox with JAWS 17, the behavior is different and as
> it should be. JAWS fires up aria-describedby only when the text box
> gets the focus.
>
> I cannot figure out for the life of me why JAWS 17 and IE 11 re-fire
> the aria-describedby when the first character is typed in the text box.
>
> Here is my code, you can put it in a note pad and test it.
>
> I need a solution to this or a work around if any of you know of one.
>
> <div>
> <label for="Password1">
> Password
> </label>
> <input type="password" aria-describedby="sc-validatr-15 password-hints"
> required="" id="Password1" />
> <span role="alert" id="sc-validatr-15"> Please enter a strong
> password.
> </span>
> <div id="password-hints">
> <h3>
> Why create a strong password?
> </h3>
> <p>
> Account security is becoming more and more important all the time. And
> in order to keep your account safe, we need your help. We know that
> creating a strong and unique password might not be easy, but it can be
> fun. Try using an inside joke, a rhyme, or a reference to something only you would know.
> </p>
> </div>
> > > archives at http://webaim.org/discussion/archives
> >


--
Work hard. Have fun. Make history.