spectrum-web-components
spectrum-web-components copied to clipboard
[Bug]: sp-number-field pressing increment/decrement buttons using NVDA moves focus to the text field
trafficstars
Code of conduct
- [X] I agree to follow this project's code of conduct.
Impacted component(s)
sp-number-field
Expected behavior
When I press the increment or decrement buttons focus should stay on the button. I can't press it more than once if focus moves
Actual behavior
Focus currently moves to the text field
Screenshots
No response
What browsers are you seeing the problem in?
Chrome, Microsoft Edge
How can we reproduce this issue?
- Go to https://opensource.adobe.com/spectrum-web-components/components/number-field/
- Turn on NVDA
- arrow through the page (down arrow) until you get to a number field
- Press down arrow one more time to get to the increment button
- press space or enter Note focus moves to the text field and forms mode gets enabled
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response
Related to #3274 #3271