Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Avoid body focus during tabbing

  • 3 답장
  • 2 이 문제를 만남
  • 1 보기
  • 최종 답변자: Saravana

more options

After opening Firefox and placing cursor in address bar, try pressing tab button. Now focus will set on each element like Address bar, Search window, body of the opened webpage. This is where im facing the problem. I don't want firefox to set focus on the body element while pressing tab i.e whole body gets focused. And also that does not make any sense , why the focus is setting to body of the page because we cant do any stuff by setting focus to the body of the element. I tried with other browsers , which works perfectly fine. But i like to stick to Firefox, the browser which i love the most. Being a developer i tried with lots of stuffs, but couldn't make out solution for it.Can u please provide the solution for it ? or the script which will avoid the focus of body element ?

After opening Firefox and placing cursor in address bar, try pressing tab button. Now focus will set on each element like Address bar, Search window, body of the opened webpage. This is where im facing the problem. I don't want firefox to set focus on the body element while pressing tab i.e whole body gets focused. And also that does not make any sense , why the focus is setting to body of the page because we cant do any stuff by setting focus to the body of the element. I tried with other browsers , which works perfectly fine. But i like to stick to Firefox, the browser which i love the most. Being a developer i tried with lots of stuffs, but couldn't make out solution for it.Can u please provide the solution for it ? or the script which will avoid the focus of body element ?

모든 댓글 (3)

more options

You're right: focusing the entire page/document/body doesn't seem very useful, but there must be some reason for it. I'm not sure who can answer that one.

With respect to changing the behavior, you could try adding an event handler for focus to move it along to the next focusable item (e.g., hyperlink or form field), but it might be difficult to write a function that works on all pages without further customization.

Separately, I note that the forum detected your browser as Firefox 4.0.1, which has known security vulnerabilities. For general browsing, you should use one of the up-to-date versions (currently Firefox 11 and 3.6.28).

more options

If you keep pressing the Tab key then the other focusable elements on the web page get focus, so the cycle doesn't end with focusing the body element.

more options

Hi..:) thanks for the reply... I tried with all Versions of Firefox browsers even in FF 12, but this problem exists in all versions.