-
Notifications
You must be signed in to change notification settings - Fork 13
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
VirtualPC cursor is overriding document focus in overlay #857
Comments
Can confirm the problem. Also occurs with Chrome |
@JAWS-test thanks. |
Imported into ADO as bug 94379 |
The linked example no longer seems available. |
@mbgower can you provide an updated URL to a working example? |
Ah, they renamed the component. Here is the new link: Note that they also modified the examples a bit as part of this change, and no longer have a sample with just 2 AI buttons on the page, which mean that the 'steps to reproduce' probably won't work precisely, but hopefully sufficient to recreate the problem. |
Summary
While navigating an overlay's content, JAWS preserves the location of the virtual PC cursor inside the overlay, even after the overlay is dismissed and the focus has returned to the trigger. As a result, when the user presses Tab to advance focus, the item that receives focus will be the next item that follows the prior location of the VPC cursor, not the next item in the tab order after the trigger.
Expected result
After pressing Esc at the end of step 3, the focus returns to the AI button and its collapsed state is announced
When pressing Tab, focus moves to next item (Sample AI Input)
Actual result
After pressing Esc at the end of step 3, focus is visibly returned to the AI button, but the JAWS focus indicator remains where the overlay position was previously, even though the overlay has disappeared.
Pressing tab moves focus to the next item AFTER the 'phantom' VPC position. Depending which chunk of information in the overlay last had focus, the focus could be on the second input, the second AI button, or another control.
Example
Additional Information
Any of the sample AI pages has the same issue, for instance it can be carried out at https://react.carbondesignsystem.com/iframe.html?args=&id=experimental-unstable-slug-form--revert-test&viewMode=story
This issue does not happen without JAWS running, and does not happen with NVDA running.
JAWS version and build number
2024.2406.121
Operating System and version
Windows 11 Enterprise 10.0.22631 Build 22631
Browser and version:
Microsoft Edge 127.0.2651.86 (Official build) (64-bit)
The text was updated successfully, but these errors were encountered: