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.maintain.tabFocus breaks tab in Android + Chrome #156

Open
ZoeBijl opened this issue Feb 20, 2017 · 6 comments
Open

ally.maintain.tabFocus breaks tab in Android + Chrome #156

ZoeBijl opened this issue Feb 20, 2017 · 6 comments

Comments

@ZoeBijl
Copy link

ZoeBijl commented Feb 20, 2017

When focus is trapped with ally.maintain.tabFocus it breaks the tab key on Android + Chrome when used in combination with a bluetooth keyboard.

Android v7.1.1
Used ally.js from https://cdn.jsdelivr.net/ally.js/1.4.1/ally.min.js

Added my test case as HTML:
issue-3-advice.html.zip

This is also true for the example located at: https://allyjs.io/tutorials/dialog.example.html

@rodneyrehm
Copy link
Member

Hey @MichielBijl, sorry for the the delay! What exactly does "breaks the tab key" mean?

I don't have an Android 7.1 device and BT keyboard to reproduce, so any detail you can share to understand the problem helps :)

@mikem201486
Copy link

@mikem201486
Copy link

issue-3-advice.html.zip

@mikem201486
Copy link

@rodneyrehm
Copy link
Member

Sorry for the (insanely) long wait… I'm afraid this is due to the fact that I've never been able to get "keyboard tabbing" to work in any of my Android devices. That's why Focusable Elements - Browser Compatibility Table does not consider any element keyboard focusable ("tabbable") on Android. That has been coded into src/is/tabbable.js and is now causing the described problem with ally.maintain.tabFocus.

To solve this I'll have to obtain a modern android device with bluetooth keyboard, rerun the tests and update the filters accordingly. Unfortunately this will take a while.

@ZoeBijl
Copy link
Author

ZoeBijl commented Apr 12, 2018

I might be able to retest this in our test lab.

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

No branches or pull requests

3 participants