WebAIM - Web Accessibility In Mind

E-mail List Archives

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

for

Number of posts in this thread: 2 (In chronological order)

From: Maraikayar Prem Nawaz
Date: Tue, Jul 16 2019 9:48PM
Subject: aria-invalid even when removed is announced on iOS as invalid data
No previous message | Next message →

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

From: Maraikayar Prem Nawaz
Date: Wed, Jul 17 2019 6:19AM
Subject: Re: aria-invalid even when removed is announced on iOS as invalid data
← Previous message | No next message

Here's an quick example http://used-waves.surge.sh/confirmpassword.html


On Wed, Jul 17, 2019 at 9:18 AM Maraikayar Prem Nawaz < = EMAIL ADDRESS REMOVED = >
wrote:

> 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
>
>