Closed Bug 1890802 Opened 1 year ago Closed 1 year ago

Cancel button is not visible in HCM

Categories

(Firefox :: Screenshots, defect, P1)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
127 Branch
Accessibility Severity s3
Tracking Status
firefox-esr115 --- unaffected
firefox124 --- unaffected
firefox125 --- unaffected
firefox126 --- disabled
firefox127 --- verified

People

(Reporter: sbadau, Assigned: ayeddi)

References

(Blocks 2 open bugs, Regression)

Details

(Keywords: access, regression)

Attachments

(2 files)

Found in

  • Nightly 126.0a1

Affected versions

  • Nightly 126.0a1

Tested platforms

  • Affected platforms: macOS 13, Ubuntu 22.04.
  • Unaffected platforms: Windows 10 x64

Preconditions

  • Enable High Contrast Mode.

Steps to reproduce

  1. Enable Screenshots by pressing the Cmd+Shift+S keys.
  2. Observe the Cancel button and mouse hover over it.

Expected result

  • The Cancel button should be visible, and the mouse hover effect should be noticeable.

Actual result

  • The Cancel button and the mouse hover effect are barely visible. Please see the screenshot attached.

Regression range

Additional notes

  • This issue is not reproducible on Windows 10.
Has STR: --- → yes

:morgan, since you are the author of the regressor, bug 1881405, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(mreschenberg)
Blocks: 1870127
Priority: -- → P1

Marking it as access-s3 because while the button is not visible on HCM, there are on-screen instructions for the alternative way to dismiss the screenshot mode (by pressing Esc key), thus the flow is not blocked

Accessibility Severity: --- → s3

The change above is happened because we are moving from using prefers-contrast query for high contrast mode (HCM) to forced-colors which affects only Windows OS when contrast theme is active or when certain settings is activated in the Firefox Settings > General > Colors dialog on other OSes. More about the audit and more about semantic use of these queries can be found in meta bug 1877780.

Flags: needinfo?(mreschenberg)

As part of the HCM and Increased Contrast Support in FX project, the Accessibility team is auditing existing prefers-contrast media query blocks in mozilla-central. For each block with prefers-contrast media we want to convert it to forced-colors where appropriate.

Refer to the bug 1877780 #c0 for more information about the project.

Assignee: nobody → ayeddi
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1881405

Pushed by sfoster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/291d187ba249 Update overlay.css in Screenshots to use forced-colors instead of prefers-contrast where appropriate. r=niklas,morgan,desktop-theme-reviewers,dao
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch

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

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox126 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(ayeddi)

AFAIK, the new implementation is to be shipped in Firefox 127 where the fix is riding the train, so we could avoid the Beta uplift since it's not enabled by default in there.

Flags: needinfo?(ayeddi)

Verified as fixed using the latest Nightly 127.0a1 (Build ID: 20240425212929) on macOS 13 and Windows 10 x64.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: