Closed Bug 1928108 Opened 3 months ago Closed 3 months ago

Disabled buttons should not be translucid in High Contrast Mode

Categories

(DevTools :: General, defect, P2)

defect

Tracking

(firefox134 fixed)

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

See https://searchfox.org/mozilla-central/rev/5fdbe0d78d61581aa4b37ce82bbf31c2bd7826f1/devtools/client/themes/common.css#394,396-397

.devtools-button:disabled {
...
  opacity: 0.5 !important;
}

We should rather change the color of the icon to --theme-icon-disabled-color

Instead, change the icon color so it's handled properly in High Contrast Mode.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c63f4ec4011a [devtools] Don't change opacity for disabled buttons. r=devtools-reviewers,bomsy.
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: