-
Notifications
You must be signed in to change notification settings - Fork 12
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
Rename and validate AccessibleValueHandler "step" options #702
Comments
While we're at it.... Are there other classes that have similar "keyboard" options that should be renamed? |
Was brainstorming different names:
I like |
keyboardStep
Also need to validate that: shiftKeyboardStep < keyboardStep < pageKeyboardStep |
@jessegreenberg said:
I agree -- it's specific to AccessibleValueHandler, so |
Subset of phetsims/scenery#1298 |
AccessibleValueHandler option
keyboardStep
needs a new name and revised documentation. It is not specific to keyboard and works for other alternative-input devices.Slack thread
Chris Malley 1:50 PM
Question about these Slider options:
keyboardStep
,shiftKeyboardStep
,pageKeyboardStep
. Are they keyboard-specific, or do they determine the step for other input devices? If the former, will they be ignored for other input devices, will other input devices need additional options, etc?Jesse Greenberg 1:55 PM
Hmm...
Chris Malley 1:55 PM
What I’m getting at is that they options all have “keyboard” in their name. Are they really keyboard specific? Do you really want them to be keyboard specific?
Jesse Greenberg 1:55 PM
shiftKeyboardStep
andpageKeyboardStep
are specific to keyboard.keyboardStep
however works as the step size for other alternative input devices.Chris Malley 1:56 PM
Then
keyboardStep
needs a new name.Jesse Greenberg 1:56 PM
Yea, I agree!
Chris Malley 1:57 PM
Nothing in AccessibleValueHandler.js that indicates that
keyboardStep
works for other input devices. In fact the doc makes it seem specific to keyboard:Jesse Greenberg 2:00 PM
Indeed! These were probably added before we were thinking about other forms input and gesture controls.
The text was updated successfully, but these errors were encountered: