Closed Bug 105742 Opened 23 years ago Closed 23 years ago

focus ring not visible for linked images or button images with non-transparent backgrounds

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: bugzilla, Assigned: karnaze)

Details

(Keywords: access, Whiteboard: [bae:20011218]PATCH)

Attachments

(1 file, 1 obsolete file)

marc, i couldn't find a recent bug you filed on this...but feel free to dup if the bug does exist! while doing some tabbing navigation tests, i noticed that sometimes the focus ring for image links is invisible. this seems to occur when the image doesn't have a transparent background. some examples --just tab to a given linked image [look at the status bar to make sure you have the correct link/focused item]: * focus ring present: http://hopey.mcom.com/tests/image-link.html --the image link has a transparent background. * focus ring absent: http://hopey.mcom.com/tests/image-link2.html --the image link has an opaque [white] background. the focus ring remains absent even though the web page background color isn't the same as the image's. * focus ring absent: http://bugzilla.mozilla.org/ --don't see the the focus ring for the banner. what needs to be done is to somehow display an outline that's the inverse of the image's broder color...
was wondering whether form buttons using images would also be affected. after checking Viewer test #8: Forms, it looks like button images also don't show the focus ring.
Severity: normal → major
Keywords: access
Summary: focus ring not visible for image links with non-transparent backgrounds → focus ring not visible for linked images or button images with non-transparent backgrounds
Target Milestone: --- → mozilla0.9.9
I'm not sure this is related or not. But I have seen instances of focus rings around "IMG"'s but the focus ring does not completely enclose the image. The length of the rectangle seems big enough, but the width is only a few pixels or so. For example. 1) Go to www.msn.com 2) Use the mouse to select any topic from "Today on msn" 3) When the page for the selected subject loads, there is a logo for "msn" near the upper left hand corner. (It's the letters "msn" with a colored butterfly trademark and is a link to "go.msn.com/...") 4) Use the TAB key to try and shift the focus ring to the image. Sometimes the focus ring appears as a long thin rectangle positioned at the top of the image. Sometimes the focus ring appears as a long thin rectangle positioned at the bottom of the image. Sometimes no focus ring appears. It's unpredictable. 5) Repeat steps 1-4 by selecting different topics from different categories on the main "msn.com" page and you'll see how the focus ring location varies when positioned on the MSN logo.
using the win32 build from 20011218 on win98, I do not see the focus rings on any of the test cases given
Whiteboard: [bae:20011218]
Target Milestone: mozilla0.9.9 → mozilla1.1
Keywords: fcc508, nsbeta1
Plussing per ADT
Keywords: nsbeta1nsbeta1+
Yes, the focus ring si the height of the line-box, not the height of the image. A known problem for many years... accepting and investigating (P3 since it is not a crash)
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: mozilla1.1 → mozilla1.0
Taking the bug.
Assignee: attinasi → karnaze
Status: ASSIGNED → NEW
Attached patch patch to fix the bug (obsolete) — Splinter Review
Status: NEW → ASSIGNED
Whiteboard: [bae:20011218] → [bae:20011218]PATCH
Comment on attachment 73302 [details] [diff] [review] patch to fix the bug sr=attinasi, but you should expand your rule to include <object> (and maybe <embed>)
Attachment #73302 - Flags: superreview+
Attached patch revised patch Splinter Review
Attachment #73302 - Attachment is obsolete: true
Attachment #73312 - Flags: superreview+
Comment on attachment 73312 [details] [diff] [review] revised patch r=alexsavulov
Attachment #73312 - Flags: review+
The patch is in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Marking verified in the Windows ME trunk (2002-04-17-11) and OS X trunk (2002-04-17-03)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: