Firefox/Projects/Focus Ring Cleanup: Difference between revisions

 
(One intermediate revision by one other user not shown)
Line 16: Line 16:


= Bugs =
= Bugs =
[[https://bugzilla.mozilla.org/show_bug.cgi?id=462289]]
{{bug|462289}}

Latest revision as of 22:11, 7 August 2009

Overview

Sprint lead: Enn
Sprinters:

Description
Only show the focus ring when a user has focused an element with the keyboard.

Goals / Use Cases

don't show a focus ring when clicking on the selected tab

Non Goals

don't show focus rings on other elements; this is more difficult as the existing focus code doesn't always update its 'focus by mouse/key' state properly and there are numerous additional cases to handle

Design

for Firefox 3.1, just add an attribute on a tab which indicates that it was focused by the mouse. For trunk, we should use a css pseudoclass to select specific focus behaviours.

Bugs

bug 462289