phetsims / sun

User-interface components for PhET simulations, built on top of Scenery.
MIT License
4 stars 12 forks source link

"Groups" need a consistent API for voicing/description #775

Open pixelzoom opened 2 years ago

pixelzoom commented 2 years ago

As noted in https://github.com/phetsims/vegas/issues/108#issuecomment-1180911408 ...

Support for voicing/description is currently inconsistent (or non-existent) across PhET "group" components. Here's the current status:

When I implemented LevelSelectionRadioButtonGroup in https://github.com/phetsims/vegas/issues/108, there was no clear pattern here, so I chose to do nothing.

While API support for all groups could be addressed pro-actively, it's more likely that features will be added as needed. It would be nice if they were added consistently, so that the API is the same across all "groups". I would guess that RectangularRadioButtonGroup might be the most mature of the implementations, possibly serving as a pattern for the others.

zepumph commented 1 year ago

Subset of https://github.com/phetsims/scenery/issues/1298