Open Bug 669507 Opened 12 years ago Updated 4 months ago

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

Categories

(Toolkit :: XUL Widgets, defect)

defect

Tracking

()

People

(Reporter: whimboo, Unassigned)

References

Details

Attachments

(2 files)

Attached 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.
Version: 7 Branch → Trunk
Blocks: 905136
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.
A simple workaround for the time being:

.your-checkbox .checkbox-label-box {
  display: none;
}
Severity: normal → S3

The severity field for this bug is relatively low, S3. However, the bug has 4 duplicates.
:mstriemer, could you consider increasing the bug severity?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mstriemer)

The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.

Flags: needinfo?(mstriemer)
You need to log in before you can comment on or make changes to this bug.