-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement both hands voicing #432
Comments
Not ready yet. Will get back to that now that Indy hands are working. |
Today during @terracoda and my RAP meeting, we decided it would be nice to have the current PDOM descriptions for the both hands interaction added to voicing as a baseline. We noticed this was already implemented for the individual hands when the ratio is locked (forwards to both-hands description content). I'll add that for BothHandsPDOMNode. |
I was able to hide the both hands interactive highlight, but I made phetsims/scenery#1372 to find a better way to do it. |
Alright. Implemented. Let me know how the design goes @terracoda and let me know if you have any questions or thoughts to bounce back and forth. |
From today's design meeting with @terracoda:
|
@zepumph, at our meeting on Friday, I didn't mention that the Hint Responses are custom strings: Before interaction or before full interaction with each of the Both Hands interaction when icons are still on the screen:
After successful interaction with each of the Both Hands hands:
|
@zepumph, and when ratio is locked, and one of the hands (of Both Hands) is at an edge, the hint will need the special wording mentioned here #452 (comment) This should help guide the direction at start of drag rather than at end of drag when ratio is locked. |
@zepumph in your comment:
You meant to say: I am investigating. |
In the published version, I do indeed hear distance-progress. So this is currently a bug on master and this bug is also appearing to our default PDOM implementation for voiced Both Hands interaction. |
In the Interactive Description design document, there is a lot of work on how to switch back and forth distance-progress and distance-regions, so the distance-region would not repeat, and we could have shorter responses using distance-progress. That logic is now missing in master. For Interactive Description (Both Hands and Both Hands ratio locked) we need to find out where/when we lost the logic that was already there. We still have distance-progress logic for the indy hand slides (ID & Voicing). For Voicing, I think we should continue making much greater use of the distance-progress which means following the points 1 & 2 in comment |
Note that on Master with interactive description using Both Hands, I can get the occasional distance-progress, but often when I am just starting out the distance-progress is the wrong one. In the published version, I can get distance-progress sometimes when I land on ratio. As the logic is cleaned up, let's fix that. I think generally across the board for discrete input we want to be alternating between distance-progress&position and distance-region&position except for 1 case:
When looking specifically at Voicing and the Both Hands interaction, because the distance-region makes the responses super long for a combined visual experience, we want to only have distance-region when Tick Marks are hidden. For Voicing Both Hands interaction with discrete input when Tick Marks are enabled we will alternate between getting distance-progress&position and just position and then when moving into ratio we will only get position. Also, there is special wording for Hint Responses, please see #432 (comment) and #457 |
|
It looks like item (3) was actually 2 issues/bugs. I created #458 and #459 to discuss them. I think that #459 is going to be where @terracoda and I discuss all of @terracoda's comments since #432 (comment) |
Up next is the main portion of this issue, where we divide out the both-hands interaction to focus/drag/enddrag like for the indy hands. I will get to this soon. |
Re #432 (comment) @zepumph, let's forget about changing any interactive highlights. I like the way the Voicing is sounding by calling all three hand interactions Both Hands when the Ratio Lock is checked. |
Alright. I believe that this is working now. I was able to utilize the current implementation of distanceResponseType being passed through on mouse input to make the both hands (ratio locked + indy hands + mouse) responses correct. @terracoda can you please review this and #459 |
Ok, I hear distance-progress and distance-region when using bi-manual keyboard input with Both Hands (i.e., Ratio Lock is not checked). It seems to be connected to when entering and traversing the same distance-region, so this seems to be correct and the same as PDOM logic (I haven't directly compared). We still need to work on the edge responses, though. I think that will be addressed in a separate issue - #450 and #457. |
I think this is working well, except fr items in other issues, so closing. Also, I am now not convinced that we need to implement item 2 in comment I'll test and comment in the appropriate issue. |
From #363. @terracoda, I'm not sure the status on the both hands design yet. Can you let me know when it's ready. This isn't blocking me or anything, I'm just making some organizational issues for the remaining work.
The text was updated successfully, but these errors were encountered: