:hover is activated by selecting a link with the keyboard

NEW
Unassigned

Status

()

Core
Event Handling
16 years ago
8 years ago

People

(Reporter: Laurent Martelli, Unassigned)

Tracking

Trunk
mozilla1.1alpha
x86
All
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

16 years ago
If you at http://lolo.bearteam.org/bug.html and cycle through the link with TAB,
 the first time you are on the first link, it is green instead of pale blue. If
you go to the 2nd link (TAB) and then go back to the 1st one (Shift+TAB) then
it's blue.

Comment 1

16 years ago
The problem here it's that to the :hover is being activated sometimes by the
keyboard, and not only by a mouse over.

The :focus isn't a problem at all, so changing summary from ":hover and :focus"
to ":focus is activated by selecting a link with the keyboard"

As I don't think that this is a dup of bug 78765 or bug 20022, I'm marking it as
New and moving to Event Handling. Also changing OS to all as this happens to me
in win98, Build 2001081303
Status: UNCONFIRMED → NEW
Component: Style System → Event Handling
Ever confirmed: true
OS: Linux → All
Summary: :hover and :focus → :focus is activated by selecting a link with the keyboard

Comment 2

16 years ago
Really reassigning to Event Handling...
Assignee: pierre → joki
QA Contact: ian → madhur
Shouldn't the summary actually say ":hover is activated by selecting a link with
a keyboard?"  After all, you'd expect :focus to be activated due to keyboard
tabbing.

Comment 4

16 years ago
Yes, of course.  
Updating summary
Summary: :focus is activated by selecting a link with the keyboard → :hover is activated by selecting a link with the keyboard

Comment 5

16 years ago
*** Bug 99088 has been marked as a duplicate of this bug. ***

Updated

16 years ago
Target Milestone: --- → mozilla1.1

Updated

16 years ago
QA Contact: madhur → rakeshmishra

Comment 6

16 years ago
I think it makes sense to apply the :hover style on tabbing to a link.  The
problem isn't that :hover applies to tabbed-to links, but that it only applies
if you tab *from* certain other objects (such as other links).  See also bug
140655, "caret browsing: :hover effect tests old caret location instead of new
location".

Comment 7

16 years ago
Created attachment 81337 [details]
similar testcase where hover, focus effects aren't mutually exclusive

Updated

15 years ago
QA Contact: rakeshmishra → trix

Comment 8

14 years ago
.
Assignee: joki → saari
QA Contact: trix → ian
Assignee: saari → nobody
QA Contact: ian → events
You need to log in before you can comment on or make changes to this bug.