new-window-launches-on-focus
When a component is focused a new window gets launched.
Severity: Serious
Description
A new window is opened when the component is focused.
Why is it important?
For people with impairments who use a keyboard to navigate through a website, there must be explicit triggers or sufficient communication if a new window is being launched as it can be confusing to the user.
Examples
-
Success:
- Using
activate
as the trigger to launch a new window.
- Using
-
Failure:
- Using
focus
as the trigger to launch a new window.
- Using
How to fix?
Use activate
rather than focus
as the trigger for a context change to resolve this issue.
References
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!