adobe / spectrum-web-components

Spectrum Web Components
https://opensource.adobe.com/spectrum-web-components/
Apache License 2.0
1.28k stars 205 forks source link

[Bug]: sp-number-field pressing increment/decrement buttons using NVDA moves focus to the text field #3272

Open jnurthen opened 1 year ago

jnurthen commented 1 year ago

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?

  1. Go to https://opensource.adobe.com/spectrum-web-components/components/number-field/
  2. Turn on NVDA
  3. arrow through the page (down arrow) until you get to a number field
  4. Press down arrow one more time to get to the increment button
  5. 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

najikahalsema commented 1 year ago

Related to #3274 #3271