Label and image of checkbox and radiobutton should be hidden if there is no label or src attribute

NEW
Unassigned

Status

()

defect
8 years ago
9 months ago

People

(Reporter: whimboo, Unassigned)

Tracking

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

Posted image screenshot
Mozilla/5.0 (Windows NT 5.1; rv:7.0a1) Gecko/20110705 Firefox/7.0a1

With the test extension on bug 653637 you can see that the checkboxes for boolean inline settings have an empty focus outline behind the checkbox. This is visible on Windows and Linux. See the attached screenshot.
Version: 5 Branch → 7 Branch
I've seen this elsewhere too, been meaning to do something about it.
Summary: Empty focus outline for checkboxes of boolean inline settings → Label and image of checkbox and radiobutton should be hidden if there is no label or src attribute
Can we ensure that the focus outline is then around the checkbox itself? We shouldn't completely hide it.
Duplicate of this bug: 708990

Updated

8 years ago
Version: 7 Branch → Trunk
Component: Add-ons Manager → XUL Widgets
Interestingly our HTML checkbox has a focus rectangle around the checkbox (because they don't have labels, I guess), but our XUL checkbox has a focus rectangle around the label.
Duplicate of this bug: 922119
A simple workaround for the time being:

.your-checkbox .checkbox-label-box {
  display: none;
}
Duplicate of this bug: 587070
Duplicate of this bug: 600940
You need to log in before you can comment on or make changes to this bug.