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 a > img[ismap] elements #20

Closed
rodneyrehm opened this issue Jul 21, 2015 · 1 comment
Closed

ally/query/focusable does not find a > img[ismap] elements #20

rodneyrehm opened this issue Jul 21, 2015 · 1 comment

Comments

@rodneyrehm
Copy link
Member

Internet Explorer 10-11 and MS Edge consider the <img> element in the following snippet keyboard focusable ("tabbable") - no other browser does this.

<a href="http://example.org">
  <img ismap src="">
</a>

<!-- img remains keyboard focusable, a does not -->
<a href="http://example.org" tabindex="-1">
  <img ismap src="">
</a>
@rodneyrehm rodneyrehm added this to the v0.1.0 - Focus milestone Jul 21, 2015
@rodneyrehm rodneyrehm changed the title img[ismap] considered focusable by IE and Edge ally/query/focusable does not find a > img[ismap] elements Jul 21, 2015
@rodneyrehm rodneyrehm changed the title ally/query/focusable does not find a > img[ismap] elements ally/query/focusable does not find a > img[ismap] elements Jul 21, 2015
@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