Closed Bug 2050348 Opened 2 months ago Closed 1 month ago

[Nova] [a11y] VPN main panel exclusion toggle is not visible while disabled using default browser themes

Categories

(Firefox :: IP Protection, defect)

Firefox 154
Desktop
Windows 11
defect

Tracking

()

VERIFIED FIXED
155 Branch
Tracking Status
firefox154 --- wontfix
firefox155 --- verified

People

(Reporter: vvalentina, Assigned: jooliver)

References

(Blocks 6 open bugs)

Details

(Whiteboard: [recomp-nova])

Attachments

(3 files)

[Prerequisites]

  • VPN enabled on a Firefox 154.0a1 Nightly build
  • macOS / Windows / Linux version
  • Browser theme set to Dark/Alpenglow

[Steps]

  1. Launch Firefox 154.0a1 Nightly on a desktop device (macOS, Windows, or Linux).
  2. Open the Firefox VPN main panel.
  3. Ensure the app exclusion feature is disabled.
  4. Hover the mouse cursor over the exclusion toggle.

[Expected Results]
The exclusion toggle should be visible in a low-contrast state. Hovering over the disabled toggle should either display a standard tool-tip or trigger a subtle, clean hover state.

[Actual Results]
The toggle is hard to see while disabled. Upon hovering, the visual degradation worsens.

[Note]
The hover state triggers an incorrect CSS background-color override, which actively erases or clips adjacent container borders.

Severity: S4 → S3

I attached a screenshot of poor contrast in the hover state.

This fix requires a broader design systems fix, so I placed this ticket against Bug 2024706 per request from Jules.

Depends on: nova-acorn
Blocks: nova-acorn
No longer depends on: nova-acorn
Whiteboard: [recomp-nova]

There are updated token values in Figma for moz-toggle that need to be imported, this is being covered in patch https://phabricator.services.mozilla.com/D312193. This bug may also require updating moz-toggle.css to ensure that tokens are always applied correctly (e.g. --toggle-dot-background-color-hover is currently only applied under prefers-contrast).

Thanks Jon - met with :mstriemer about this just now and if possible we should make sure not only toggle but checkbox and radio also gets these CSS updates in this bug and make it a more all-encompassing fix for them too.

Assignee: nobody → jooliver
Status: NEW → ASSIGNED

Addresses color contrasts concerns for moz-toggle:

  • improves contrast ratio for legacy moz-toggle styles in light mode
  • fixes moz-toggle hover/active styles
Attachment #9614038 - Attachment description: WIP: Bug 2050348 - moz-toggle style updates r=#desktop-theme-reviewers → WIP: Bug 2050348 - fix nova moz-toggle hover/active styles r=#desktop-theme-reviewers
Attachment #9614038 - Attachment description: WIP: Bug 2050348 - fix nova moz-toggle hover/active styles r=#desktop-theme-reviewers → Bug 2050348 - fix nova moz-toggle hover/active styles r=#desktop-theme-reviewers
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch

The patch landed in nightly and beta is affected.
:jooliver, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(jooliver)

Verified this as fixed using Firefox Nightly 155.0a1 (29-07-2026) on macOS and Windows 11.
The website exclusion toggle is visible while disabled and with a hover effect on it.

Flags: needinfo?(jooliver)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: