E-mail List Archives

Re: Aria and inline character password validation

for

From: JP Jamous
Date: Jan 19, 2017 8:19AM


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.