Open Bug 95186 Opened 23 years ago Updated 2 years ago

:hover is activated by selecting a link with the keyboard

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
All
defect

Tracking

()

mozilla1.1alpha

People

(Reporter: laurent, Unassigned)

References

()

Details

Attachments

(1 file)

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.
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
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.
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
*** Bug 99088 has been marked as a duplicate of this bug. ***
Target Milestone: --- → mozilla1.1
QA Contact: madhur → rakeshmishra
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".
QA Contact: rakeshmishra → trix
.
Assignee: joki → saari
QA Contact: trix → ian
Assignee: saari → nobody
QA Contact: ian → events
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: