본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

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

자세히 살펴보기

Make the highlight bold when tabbing through items on page instead of tiny faint dotted line

  • 6 답장
  • 1 이 문제를 만남
  • 4 보기
  • 최종 답변자: cor-el

more options

When you tab around within a page (i.e. with the Tab key) and things such as links get highlighted they are only indicated with an extremely thin faint dotted line. Is there a way to make the highlighting more prominent such as a thicker line or light shading of the boxed-in area?

I don't even know what words to use for this in order to search for an add-on. What do you call it when you click on Tab to move the selection from one item on a page to the next? Highlighting? I don't think it's the cursor because the cursor is for typing words, right? I'm not talking about switching from one page or FF tab to another. I'm talking about when you move the selection (??) from one link to the next within a single page and then you can hit Enter which is like clicking on the highlighted link.

When you tab around within a page (i.e. with the Tab key) and things such as links get highlighted they are only indicated with an extremely thin faint dotted line. Is there a way to make the highlighting more prominent such as a thicker line or light shading of the boxed-in area? I don't even know what words to use for this in order to search for an add-on. What do you call it when you click on Tab to move the selection from one item on a page to the next? Highlighting? I don't think it's the cursor because the cursor is for typing words, right? I'm not talking about switching from one page or FF tab to another. I'm talking about when you move the selection (??) from one link to the next within a single page and then you can hit Enter which is like clicking on the highlighted link.

모든 댓글 (6)

more options

You can apply custom style rules to web pages in Firefox using either an add-on such as the Stylish extension or by creating/editing a userContent.css file.

When a link is selected by tabbing, it has the focus, so you can modify the styling of focused links with a rule such as the following (example screen shot attached):

a:focus {
    outline-width: 2px !important; /* thicker line */
    outline-offset: 2px !important; /* more space inside */
    color: #000 !important; /* black text */
    background-color: #ffc !important; /* pale yellow */
}

Of course, there may be other elements besides links you want to style, or you might prefer to change the style of the outline or its color instead of modifying the text and background colors. I guess the message of this post is: it's possible, but someone will need to do a little further work to code it up and explain how to implement it.

more options

You can set the browser.display.focus_ring_width pref to a higher value (default is 1) on the about:config page.

글쓴이 cor-el 수정일시

more options

Wow, thanks cor-el. There seems to be an endless list of things to learn about Firefox. This one might also be useful for higher widths:

browser.display.focus_ring_style

  • 1 = dotted line (default)
  • 0 = solid line
more options

Great, thanks. The value must be 4 or under although this is not mentioned in the documentation. I found this by trial and error. About:config will let you enter 5 or higher but if you do, the value is ignored and the focus ring will be 1 pixel wide.

I wouldn't want much more than 4 but it would be good to try out 5 or 6 or so to see if it's better.

I will probably change other things mentioned in the links such as focus background color - my goal here is to make it easier to change the focus on a page without using a mouse (power user style).

However that is often impossible because the focus is often impossible to see. This happens when it jumps to some tiny element, or off the viewable screen, or gets stolen by some element and is frozen there.

more options

BTW in case anyone's interested there are many sites out there where viewing the focus is not merely difficult but impossible with the default focus ring width, because the focus ring is completely invisible.

e.g. http://www.movingimage.us/films/

At non-default focus ring widths, focus becomes visible.

A programmer friend says this is due to the "horrible" coding of the page - which may be true but if so, a large proportion of sites out there are also horribly designed!

more options
1539     if ((NS_SUCCEEDED(result) && focusRingWidth != 1 && focusRingWidth <= 4 ) || focusRingOnAnything) {