Closed terracoda closed 1 month ago
At the moment, we are only trying to get the object name and possible the group name to read out on focus and release.
Adding: It would be useful to know if the only aria-role available is
role="application"
,
and if so use aria-roledescripton to override that and provide something useful like:
aria-roledescription = "sortable objects"
"list sort"
, "object sort"
, "grab and drag"
, "grab and sort"
, etc.
It would be good to review how the aria role description attribute is implemented for the grabbed objects in the single object grab and drag, e.g., the role on the grabbed yellow balloon.
From discussion with @terracoda, here is the pattern we would like to see generally, and put into practice in MSAB:
Selecting:
roledescription:
Name:
Sorting:
Name:
Adding: The bolded items are our choices.
Updates made above. This adds consistent accessible content, accessilbeName behavior, and aria-roledescriptions inside of the group sort common code. And @terracoda and I established a pretty awesome pattern above given that we are just implementing accessible names. @terracoda anything else needed for this issue? Please feel free to close from my end.
No, I think this issues can be closed.
Closing this issue. Please re-open if there is more to do.
From https://github.com/phetsims/mean-share-and-balance/issues/307#issuecomment-2206804824
For MSaB we are trying to sort out an accessible name for the group sort interaction, but it is a bit complicated.
In the case of the Group Sort, thus far,
The pieces we may need to describe the interaction. Using the Candy Bars as an example.
The aria role information we may need explore to scaffold operation of the interaction.
DRAFT IDEA FOLLOWS: Object details on focus we might need now and in the future
Details on grabbing
Details on releasing