-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
RangeSelector does not announce value changes when changing thumb position with arrow keys #3538
Comments
Hello chingucoding, thank you for opening an issue with us! I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌 |
So there seems to be a small issue with providing a good way to use this control through UIA. There doesn't seem to be a pattern that does exactly what this control does, the closest would be RangeValue, but that isn't really a good choice here. So raising a property changed on the RangeSelector control is a bit problematic (what property did change?). Another option would be to raise property change on the thumb elements. However this is where we encounter the next problem, Thumb is unsealed, so we can't simple inherit it to provide a custom AutomationPeer. So we would need to implement our own control to be able to provide a custom AutomationPeer that would allow us to notify narrator of a value change. |
Can verify that this bug is reproducible in the sample app. It's not announcing thumb values at all, only "Max thumb / thumb" and "Min thumb / thumb". Maybe we're looking at this the wrong way. RangeSelector is just 2 sliders (min and max value) bundled into 1 control, so rather than trying to use a single |
Describe the bug
A clear and concise description of what the bug is.
When using RangeSelector with narrator, pressing left/right arrow key changes the thumb value, however users are not being updated on the new value of the thumb.
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Narrator should announce changes, ideally also announce upper and lower limit (RangeValuePattern)
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Additional context
Add any other context about the problem here.
The UIA experience of RangeSelector is not ideal, maybe providing the RangeValuePattern for both thumbs improves this. Also more fitting UIA names for the thumbs could be chosen.
Another thing I noticed is that you can move the max-thumb with the minthumb if you keep pressing right-key. Similiarly, focusing the max-thumb and pressing down left-key eventually moves the min-thumb. Moving the thumbs with the mouse does not exhibit that behavior. Is that arrowkey behavior by design?
The text was updated successfully, but these errors were encountered: