WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Aria and inline character password validation

for

From: Birkir R. Gunnarsson
Date: Jan 19, 2017 11:05AM


Ideally, the aria-live region would be polite except the change from
inadeuet to adequate (or vice versa).
Thus, the JavaScript that inserts the "100%" or "sufficient" notice of
password strength can first set aria-live attribute to "assertive"
from "polite".
Also if user then deletes a character, types a password that is too
long or therwise messes up the password, that indication should also
be assertive.
Honestly, screen readers do not handle the aria-live notifications
consistently, I have not found major ifferences between
aria-live="polite" and "assertive", but I hope that will change going
forward.



On 1/19/17, Pierre Hachey < <EMAIL REMOVED> > wrote:
> Thanks for the link Beranek
> Pete
>
> Sent from my BlackBerry 10 smartphone.
> Original Message
> From: Beranek, Nicholas
> Sent: Thursday, January 19, 2017 10:53 AM
> To: WebAIM Discussion List
> Reply To: WebAIM Discussion List
> Subject: Re: [WebAIM] Aria and inline character password validation
>
>
> I really like how they do it on the following deque university page:
>
> https://dequeuniversity.com/library/aria/counters/sf-characters-remaining
>
> It's overkill, yes, but there are some good lessons to learn from it.
>
>