Skip to content
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

Open
mbgower opened this issue Aug 6, 2024 · 6 comments
Open

VirtualPC cursor is overriding document focus in overlay #857

mbgower opened this issue Aug 6, 2024 · 6 comments
Assignees

Comments

@mbgower
Copy link

mbgower commented Aug 6, 2024

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.

  1. Go to https://react.carbondesignsystem.com/iframe.html?args=&id=experimental-unstable-slug-form--revert-test&viewMode=story
  2. Tab to the AI button and activate
  3. When the overlay opens/expands, down arrow with VPC cursor to hear some of the contents, then press Esc
  4. Press Tab to move to next control

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

A test case that demonstrates the issue - provide linked test case, CodePen, JSbin, etc...

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)

@JAWS-test
Copy link

Can confirm the problem. Also occurs with Chrome

@stevefaulkner
Copy link
Contributor

@JAWS-test thanks.

@BrettLewisVispero
Copy link
Collaborator

Imported into ADO as bug 94379

@BrettLewisVispero
Copy link
Collaborator

The linked example no longer seems available.

@stevefaulkner
Copy link
Contributor

@mbgower can you provide an updated URL to a working example?

@mbgower
Copy link
Author

mbgower commented Aug 26, 2024

Ah, they renamed the component. Here is the new link:
https://react.carbondesignsystem.com/?path=/story/components-ailabel--playground

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.
You could also try looking at the default page to recreate, but note that there are MANY AI buttons on this page with no context (they are just illustrating all the different sizes of the button availablle), and it would be disorienting for a blind user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants