Open terracoda opened 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.
Marking as on hold as work is done in phetsims/scenery#1220
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.
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.