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

ally/query/focusable does not find scrollable elements #21

Closed
rodneyrehm opened this issue Jul 21, 2015 · 2 comments
Closed

ally/query/focusable does not find scrollable elements #21

rodneyrehm opened this issue Jul 21, 2015 · 2 comments

Comments

@rodneyrehm
Copy link
Member

Internet Explorer 10-11 consider any scrollable container and its scrollable body focusable - no other browser does this.

<div style="width: 100px; height: 50px;">
   <div style="width: 500px; height: 40px;">scrollable content</div>
</div>
@rodneyrehm rodneyrehm added this to the v0.1.0 - Focus milestone Jul 21, 2015
@rodneyrehm
Copy link
Member Author

Wrong!

  • IE10-11 consider the scroll container and its children focusable.
  • Firefox considers the scroll container keyboard focusable (tabbable), but will not focus the container upon click.

@rodneyrehm
Copy link
Member Author

is/focusable will correctly identify the element as focusable, if that's the browser's native behavior. query/focusable in "quick" mode (default) will not find this element, "strict" mode will.

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

No branches or pull requests

1 participant