I am testing an application in firefox. When I hit tab it focuses the body of Firefox. If I it tab again then the next item in header. Now while next item is having focus if I do shift + tab it goes back to body and if I do shift + tab again it comes back to same item. It didn't move focus to address bar and goes in loop between body and next item if I keep pressing shift + tab.
I added code at body since it shows me focus at body when i checked for active element
%body{tabindex: -1}
I tried using tabindex: -1
and -moz-user-focus: ignore
at body but no luck. I dont get this issue with other browsers.
Any idea how do I fix this issue?