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

[refactor tests]: find ways to test isFocusable and isTabbable in a browser #1341

Open
caridy opened this issue Jun 4, 2019 · 1 comment
Labels
Synthetic Shadow Synthetic shadow DOM polyfill

Comments

@caridy
Copy link
Contributor

caridy commented Jun 4, 2019

Description

The synthetic shadow polyfills the delegatesFocus feature for shadows, which requires some procedures to determine whether a host is tabbable and/or focusable, this is not longer testeable in jest, therefore we need to find another way to test this.

import { isFocusable, isTabbable } from '../focus';
@caridy
Copy link
Contributor Author

caridy commented Jun 4, 2019

this is related to #1311

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Synthetic Shadow Synthetic shadow DOM polyfill
Projects
None yet
Development

No branches or pull requests

2 participants