WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Aria and inline character password validation

for

From: Pierre Hachey
Date: Jan 19, 2017 8:51AM


Thanks JP.

Sent from my BlackBerry 10 smartphone.
Original Message
From: JP Jamous
Sent: Thursday, January 19, 2017 10:20 AM
To: 'WebAIM Discussion List'
Reply To: WebAIM Discussion List
Subject: Re: [WebAIM] Aria and inline character password validation


Pierre,

Yes it is aria-live with role="alert". I would make the aria-life="polite" for the best user experience.

You will need a JS function that would execute onkeyup.

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Pierre Hachey
Sent: Thursday, January 19, 2017 9:15 AM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: [WebAIM] Aria and inline character password validation

Hi WebAIM list,


What are your thoughts?

Context:
The input field for password has a real time character validation that shows the users via a dynamic tooltip, the strength of the password due to using symbols, lower and upper characters.

Question:
As the user types a line on tooltip vertically increases to show strength of password (percentage change -week to strong), since this line keeps changing as the user types, what kind of "aria" should I add?

Would it be aria-live? Do I need javascript?

Thanks
Pete




Sent from my BlackBerry 10 smartphone.