-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update Visual Keyboard Shorcuts dialog #139
Comments
@terracoda here's a mockup of the updated dialog contents. For the Change Mass section, I thought "mass" pretty repetitive. I mocked up this alternative, where the later commands mirror typical slider shortcuts. I think the commands are still clear in this context, but a bit more concise. |
@arouinfar, it looks good except I forgot the WASD keys for the "move grabbed ruler in smaller steps" section, do you think you could squeeze a set of WASD keys them in below the Arrow Keys? It should be like this maybe:
Or, however, we did it for BASE's dialog. The rest I think is good. |
@arouinfar, and I agree the second dialog seems to be less repetitive. I think we could go with that. |
Here you go @terracoda :) |
Thanks @arouinfar for doing this so quickly. I'll update the accessible content in the design document to match, and assign for implementation! |
@zepumph, the Visual Keyboard dialog and the A11y content for the dialog have been updated in the Design Document. Please see Keyboard Shortcuts Dialog in design document. Please implement as you can, likely after you implement the grab and move ruler interaction. |
@mbarlow12 this seems modular, and I may get to this before our meeting Tuesday unless there are concerns from you. |
@zepumph, no serious concerns if you get to it before implementing the grab button. The grab button for the ruler might be straight forward now that you have created a common type for that. In the scheme of things, it's just another thing done, which seems good to me. |
Unassigning as GFLB is the priority. |
Adding onhold label for same reason as above. We will return to this when work on GFLB resumes. |
This work has been done. I ended up keeping everything in GFL rather than factoring it out to ISLC. I think it would be more trouble than its worth. Here are a few questions for review:
@terracoda please review. |
@zepumph looking good!
One thing that is different with Gravity Force Lab regular is the Mass Controls. In this sim they are visually and non-visually horizontal sliders (not vertical number spinners), would it be possible to either
Personally, I prefer option 1, and I think it would give us a bit more visual blue space making the dialog less cluttered. I cut and paste things together roughly ... is something like this possible? |
@zepumph, I added the above screen shot and updated the accessible content in the design doc, in case we can go with option 1. Here's the link to the Keyboard Shortcuts Dialog section. All other accessible content sounds great. |
…tor arrow key row creation, convert PDOM strings to a11y strings, #139
…tor arrow key row creation, convert PDOM strings to a11y strings, phetsims/gravity-force-lab#139
Alright above I changed a few more things.
Note that changing the "change mass" row also effected GFLB. I updated that icon so that it was still up/down arrow keys though. @terracoda do things look good to you? |
…tor arrow key row creation, convert PDOM strings to a11y strings, phetsims/gravity-force-lab#139
@zepumph, Looking good, I like this visual simplification. I just need to double check the A11y Strings for GFL. |
@zepumph, for these 2 dialogs the Mass controls are different, one being a pure horizontal slider with small and large steps, and the other being a vertical number spinner slider with no smaller steps than the default step. |
@zepumph, I added an issue to GFLB since that sim is almost in RC. |
@zepumph, and just as an alternative for GFL regular I can live without spelling out the Left/Right Arrows keys for smaller steps since all the keys work on a slider, regardless. I just feel including the Left/Right Arrow keys is more correct with the visual representation. However, for GFL Basics, ideally we can adjust the string for regular steps to match the visual by referring to Up/Down Arrow keys. That said, I don't think this request should block RC or publication because all the Arrow keys work in both cases. |
The two PDOM updates were completed above. They were simple enough that I thought it would be good to do before RC. |
@arouinfar, based on decisions to create a Grab interaction for the Ruler and 2 jumping keyboard shortcuts in #134, we will need some visual additions to the Keyboard Shortcuts dialog for Gravity Force Lab.
Question:
@arouinfar, based on the current visual design and the red-highlighted additions in the A11y Content in the design document, do you think we need new artwork for this, and if so, do you think you could make a stab at a new visual layout when you have a time?
Here's the link to the Keyboard Shortcuts Dialog section in the design document.
Here's my short hand for the visual content of the dialog:
Keyboard Shortcuts
[Tab] to get started
Move Spheres
Change Mass
Grab or Release Ruler
Grab or release ruler [Space] or [Enter]
Move or Jump Grabbed Ruler
Basic Actions
The text was updated successfully, but these errors were encountered: