Closed Bug 476370 Opened 16 years ago Closed 16 years ago

buttons on the information bar do not show a focus ring

Categories

(Toolkit :: Themes, defect)

1.9.0 Branch
x86
macOS
defect
Not set
minor

Tracking

()

VERIFIED FIXED
mozilla1.9.2a1

People

(Reporter: sjmulder, Assigned: dao)

References

Details

(Keywords: access, polish, verified1.9.1, Whiteboard: [polish-easy] [polish-interactive][polish-p4])

Attachments

(1 file, 2 obsolete files)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; nl; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5 Ubiquity/0.1.5
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; nl; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5 Ubiquity/0.1.5

I've enabled advanced keyboard navigation in System Preferences to be able to use my keyboard to navigate around applications. While this works for most of Firefox too, the buttons on the information bar with the question whether or not to save my password do not show a focus ring when they are selected. If I count my TABs, I can still use them (pressing spacebar works when they have focus).

Reproducible: Always

Steps to Reproduce:
1. Login to a site, and wait for the information bar with the question whether or not to save the password.
2. Command+L to go the location bar.
3. Press TAB twice: once to go from the location bar to the search field, then once again to go from the tab bar to the first button on the information bar.
4. Press spacebar.
Actual Results:  
At step 3, the button with focus is not highlighted. Step 4 works, and the button is pressed.

Expected Results:  
A focus ring should show up around the button.
Component: Disability Access → Theme
Keywords: access, polish, sec508
QA Contact: disability.access → theme
Whiteboard: [polish-easy] [polish-interactive]
Blocks: 415957
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → 3.0 Branch
If we add focus rings to these buttons, they'll also appear when they're clicked with the mouse (this is caused by Gecko's un-Macish focus-on-mousedown behaviour, bug 418521).
And in my opinion, focus rings on notification bar buttons that appear when clicked look really strange... but that's probably something we'll have to live with until bug 418521 is fixed.
Version: 3.0 Branch → Trunk
How about a color change instead of a focus ring? Isn't that how the native aqua buttons behave?
Version: Trunk → 3.0 Branch
The color change usually only happens while the button is pressed. The exception are dialog default buttons which pulsate in a blue color even when they're not pressed.

Another idea would be to hide the focus ring while the button is pressed - then it would only appear when the button has already been released, i.e. when the notification bar is already fading away.

However, this idea wouldn't really work for the buttons in the find bar (for which we don't show a focus ring right now, either).
Version: 3.0 Branch → Trunk
Version: Trunk → 3.0 Branch
OK, so I really don't know how focus is indicated on native Mac buttons, but we should do the same here, with this possible optimization:

> Another idea would be to hide the focus ring while the button is pressed - then
> it would only appear when the button has already been released, i.e. when the
> notification bar is already fading away.

This shouldn't be a requirement, though. In contrast, accessibility should be a requirement for making theme changes, so this shouldn't have been broken in the first place.
Attached patch patch (obsolete) (deleted) — Splinter Review
Assignee: nobody → dao
Status: NEW → ASSIGNED
Attachment #365871 - Flags: review?(mano)
Attachment #365871 - Flags: review?(mano)
Attached patch patch v2 (obsolete) (deleted) — Splinter Review
Attachment #365871 - Attachment is obsolete: true
Attachment #366772 - Flags: review?(enndeakin)
Why is this patch implementing some special mouseclick button focus ring behaviour? We should do that in bug 418521, not make some special case just for this one button.
No special reason, but it was suggested in comment 13. I can't take that out.
Attached patch patch v3 (deleted) — Splinter Review
:not(:active) removed
Attachment #366772 - Attachment is obsolete: true
Attachment #367293 - Flags: review?(enndeakin)
Attachment #366772 - Flags: review?(enndeakin)
Attachment #367293 - Flags: review?(enndeakin) → review+
http://hg.mozilla.org/mozilla-central/rev/a3dc9e28deee
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.2a1
Attachment #367293 - Flags: approval1.9.1?
Comment on attachment 367293 [details] [diff] [review]
patch v3

a191=beltzner
Attachment #367293 - Flags: approval1.9.1? → approval1.9.1+
Keywords: checkin-needed
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/8a574b184b25
Component: Theme → Themes
Product: Firefox → Toolkit
QA Contact: theme → themes
Target Milestone: Firefox 3.6a1 → mozilla1.9.2a1
Version: 3.0 Branch → 1.9.0 Branch
Verified fixed with:

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090408 Minefield/3.6a1pre ID:20090408030741

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b4pre) Gecko/20090409 Shiretoko/3.5b4pre ID:20090409031809
Status: RESOLVED → VERIFIED
Depends on: 492452
Depends on: 495903
This bug's priority relative to the set of other polish bugs is:
P4 - Polish issue that is rarely encountered, and is easily identifiable.
Whiteboard: [polish-easy] [polish-interactive] → [polish-easy] [polish-interactive][polish-p4]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: