question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[4.0.0-rc.0] Tab Key Navigation in Firefox

See original GitHub issue

Bug 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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
NiklasMerzcommented, Jan 11, 2019

I can confirm this issue on the latest Firefox 64. Hitting the tab key only navigates through the browser controls not the Ionic page.

2reactions
thmclellancommented, Feb 7, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[4.0.0-rc.0] Tab Key Navigation in Firefox · Issue #16927 · ionic ...
Current behavior: Tab navigation works as expected in Chrome and Safari but does not appear to work at all in Firefox (untested in...
Read more >
Can't navigate through page via TAB key - Mozilla Support
When I press TAB the elements of focus are only Firefox navigation elements and input fields on the page. I've recorded a video...
Read more >
Keyboard shortcuts - Perform common Firefox tasks quickly
Navigation ; Open File, Ctrl + Ocommand + O ; Reload, F5 Ctrl + Rcommand + R ; Reload (override cache), Ctrl +...
Read more >
Can't navigate through page via TAB key | Firefox-stipefoarum
When I press TAB the elements of focus are only Firefox navigation elements and input fields on the page. I've recorded a video...
Read more >
Accessibility features in Firefox - Mozilla Support
Using a keyboard to navigate within webpages. When you go to the Firefox ... Search for the text immediately before the form control...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found