Firefox/Projects/Focus Ring Cleanup
From MozillaWiki
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.