-
-
Notifications
You must be signed in to change notification settings - Fork 614
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
Next element not annouced when active element is hidden #12807
Comments
Please specify if you are in browse or focus mode when reproducing. The two modes operate differently and this will help to clear up any misconceptions. |
Browse mode |
This looks like a duplicate of #6606 |
Tested with last alpha.Von meinem iPhone gesendetAm 14.04.2023 um 14:06 schrieb Zach Whitesel ***@***.***>:
This is still reproducible in Firefox 111 with NVDA last alpha even after #14611 has been merged. In Crhomium this works as expected now.
cc: @jcsteh
When you say Chromium works as expected now, is that the NVDA last alpha or 2023.1?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
The expected behaviour is not correct here. When you remove the first button, NVDA has to place the cursor somewhere - it can't be nowhere - so it places it as near as it can, which is now the second button. It can't remain on the first button because the first button no longer exists. Since the cursor is on the second button (which you can confirm by reading the current line), pressing down arrow will take you to the third button. This is consistent across both browsers. |
The only difference that I can find here is that in Chrome NVDA announces automatically the second button when the focus is redirected to it after removing the first buttom from the DOM. In Firefox NVDA does not report the second button automatically when the focus lands on it after activating the first button. |
Focus is actually redirected to the document, not the second button. For me, this fact was reported inconsistently in both browsers. I think there is a race condition here where pressing the first button focuses it, then it gets clicked, then focus goes to the document. It's possible that NVDA receives the focus event for the first button after the button is already destroyed, in which case things get a bit weird. |
When the active element gets hidden, NVDA will not announce the next element in Chrome.
This maybe related to #11980
Repo:
JS Fiddle - https://jsfiddle.net/fh7ywocL/8/
Steps to reproduce:
Expected behavior:
NVDA should announce the second button
Actual behavior:
NVDA announces the third button
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
2020.1
Windows version:
Microsoft Windows 10 Pro
Version 10.0.19043 Build 19043
Name and version of other software in use when reproducing the issue:
Latest version of Chrome
Other information about your system:
Other questions
Does the issue still occur after restarting your computer?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
Yes, 2020.4 also has this issue
If addons are disabled, is your problem still occurring?
Yes
Did you try to run the COM registry fixing tool in NVDA menu / tools?
No
The text was updated successfully, but these errors were encountered: