phetsims / a11y-research

a repository to track PhETs research into accessibility, or "a11y" for short
MIT License
3 stars 0 forks source link

VoiceOver doesn't read alerts values change quickly with long strings of aria-valuetext #140

Open jessegreenberg opened 5 years ago

jessegreenberg commented 5 years ago

Originally reported in https://github.com/phetsims/gravity-force-lab-basics/issues/146, determined to be a general VoiceOver issue through this example HTML

```html title

```

We may or may not spend time to find a project specific workaround, but either way we should submit a bug report to Apple.

jessegreenberg commented 5 years ago

In preparing the report to Apple I realized that this is a pretty complicated example HTML.

And when I remove the window.setTimeout and set the aria-live content immediately, the problem goes away.

jessegreenberg commented 5 years ago

From https://github.com/phetsims/gravity-force-lab-basics/issues/146

So this isn't as straight forward as I thought, its more like there is a window of time where sending an alert to VoiceOver is bad. If set immediately on change, all is well. If set ~200 ms after, things are bad if the value is changed only once. If set ~1000 ms after, things are bad if the user changes the value more than once.

I guess the bug report for Apple would more generally be something like "Deferred alerts are often missing when using VoiceOver" or something.

jessegreenberg commented 5 years ago

I submitted a bug report on 7/12 for this.