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

browser focusable behavior for pointer (mouse, touch) #99

Open
rodneyrehm opened this issue Dec 29, 2015 · 0 comments
Open

browser focusable behavior for pointer (mouse, touch) #99

rodneyrehm opened this issue Dec 29, 2015 · 0 comments
Labels

Comments

@rodneyrehm
Copy link
Member

The focusable data-tables currently only cover script focusable and keyboard focusable (tabbable). But focus can (obviously) also be shifted by clicking on things (pointer, mouse, touch). Of course script focusable and pointer focusable are not the same.

  • The <legend> element can redirect focus to another element, but only on element.focus(), not on pointer focus. see demo
  • The <label> element redirects focus to the referenced control element via element.focus() and pointer focus in Chrome and Firefox. In Internet Explorer focus is not redirected for script focus. see demo
  • The only tabbable elements are also pointer focusable in Firefox and Internet Explorer.

We should add a third layer of testing to tests/focusable/test.html to cover pointer focus.

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