WebAIM - Web Accessibility In Mind

E-mail List Archives

aria-invalid even when removed is announced on iOS as invalid data

for

From: Maraikayar Prem Nawaz
Date: Jul 16, 2019 9:48PM


Hi Folks,

I have a strange behavior of our app on iOS.

When the form is loaded 'confirm password' field has aria-invalid="false".
On Keypress, this data is validated and we remove the attribute, if its
matching the password. But when Done link on the native keyboard is
clicked, focus is set back on the confirm field and that input is announces
as invalid entry.
Here is a video recording on what i mean: https://youtu.be/3zn0kWyClUQ
<https://youtu.be/3zn0kWyClUQ>
Remote debugging on Safari, found that aria-invalid doesn't even exist.
Swiping back and swiping in sometimes reads it correctly.

Any thoughts on this behavior?

Thanks
-Nawaz