phetsims / ratio-and-proportion

"Ratio and Proportion" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
1 stars 4 forks source link

(Voicing) How to voice disabled controls? #396

Open terracoda opened 3 years ago

terracoda commented 3 years ago

In Ratio and Proportion and in many other simulations there is a need sometimes to disable access to an interactive control.

There are standard methods using HTML and ARIA to communicate a control is disabled. These methods are implemented through the use of the PDOM. In Voicing design and implementation not all inputs have access to the PDOM.

For example, mouse and touch input events do not go through the PDOM whereas keyboard and focus-based gestures do.

In the Voicing API, we have the ability to make on-screen text voice-able or readable through what we call "reading blocks".

I am wondering if reading blocks might be a viable option for making disabled controls and their disabled state voice-able?

I am adding meeting label for this question.

terracoda commented 3 years ago

We will try to resolve the Voicing of disabled controls in phetsims/scenery#1220

Hopefully, we won't need the reading block work around.

terracoda commented 3 years ago

Marking as on hold as work is done in phetsims/scenery#1220

zepumph commented 2 years ago

See https://github.com/phetsims/scenery/issues/1220#issuecomment-1074526225, this isn't going to be dealt with soon, and likely not for RAP's publication this year. Marking deferred.