-
Notifications
You must be signed in to change notification settings - Fork 272
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
[BUG][A11Y][Popover] When ui5-popover ( modal mode ) is opened, background page elements are still accessible by screen reader and can still be focused #2626
Comments
Hello @Hubery-Shen, Could you please take a look on this sample to check if the issue reproducible because I'm not able to reproduce the it: I can't reproduce even in the React app that you provide. Regards, |
Hi @nnaydenow Regards, |
Hi @Hubery-Shen, Thanks for the option. It's not convenient to have a call due to the time difference. Please just describe step by step what you are pressing so as to reproduce the issue. Best regards, |
Hi @Martotko @nnaydenow @unazko I have prepared another demo to reproduce this problem Reproduce step:
|
Hi, @Hubery-Shen |
Hello @Hubery-Shen and @SAP/ui5-webcomponents-topic-rd, Apologies for the delay in my response. The issue is easily reproducible in the given application: Steps to reproduce as described by @Hubery-Shen. You could reproduce the issue in the snipped as well: Steps to reproduce:
Observe that the focus is moved to the first "Test" button. Analysis: Possible solution would be to make the overlay not a focusable element or fire "focusin" event for the modal popover component, in order to return the focus back. Could you please take over. Best Regards, |
Problem: When element inside the popup, which can't get focus is clicked, the focus goes on the body element. Then any element below the block layer can be focused. Solution: Don't let the focus leave the popup. Fixes: #2626
Hi @unazko Thanks for your analyze This issue is still available in 0.29.4 |
Problem: When element inside the popup, which can't get focus is clicked, the focus goes on the body element. Then any element below the block layer can be focused. Solution: Don't let the focus leave the popup. Fixes: #2626
Dear colleagues,
I am from SuccessFactors Web Experience Shanghai team.
Bug Description
Version: Both in 1.0.0-rc.11 & 0.27.3
When ui5-popover ( modal mode ) is opened, background page elements are still accessible by screen reader and can still be focused
You can reproduce this issue in this example: https://github.com/Hubery-Shen/UI5-WebComponent-Examples
Expected Result
Screen reader should only be able to read the contents of the modal dialog when its open and everything in the background should be hidden from screen readers and can not be focused.
The text was updated successfully, but these errors were encountered: