[4.0.0-rc.0] Tab Key Navigation in Firefox
See original GitHub issueBug Report
Ionic version: [x] **4.0.0-rc.0
Current behavior:
Tab navigation works as expected in Chrome and Safari but does not appear to work at all in Firefox (untested in Edge).
Expected behavior:
The user should be able to navigation the page through pressing the tab key. This is especially important when attempting to meet accessibility standards.
Steps to reproduce:
Spin up an Ionic app and create a new page. Throw some buttons on there or inputs and note how when using Firefox tabbing for page navigation does not work. It appears that you can tab to the first focusable element but it will not navigate the page from there (returns back to the browser bar).
Other information:
Even manually setting a tab index on the buttons does not seem to resolve the issue. I have tried manually handling the tab key with an event listener but there must be a directive or something similar attached to the buttons that “eats” the focus event. Any feedback or help with this issue would be welcome as the project I’m building requires accessibility and it would be good to not have to limit our users to Safari/Chrome.
Ionic info:
ionic (Ionic CLI) : 4.6.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.0-rc.0
@angular-devkit/build-angular : 0.10.5
@angular-devkit/schematics : 7.0.7
@angular/cli : 7.0.3
@ionic/angular-toolkit : 1.2.0
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:9 (4 by maintainers)
Top GitHub Comments
I can confirm this issue on the latest Firefox 64. Hitting the tab key only navigates through the browser controls not the Ionic page.
Good news, the tab key issue with ion-item has been fixed in FireFox nightly build 67.0a1 per https://github.com/ionic-team/ionic/issues/16498.