Closed Bug 1939129 Opened 8 months ago Closed 4 days ago

autocomplete menu items do not follow HCM styling

Categories

(Toolkit :: Password Manager, defect)

Firefox 135
x86_64
Windows 10
defect

Tracking

()

RESOLVED FIXED
144 Branch
Accessibility Severity s3
Tracking Status
firefox135 --- wontfix
firefox144 --- fixed

People

(Reporter: nstroud, Assigned: vprema)

References

(Blocks 1 open bug)

Details

(Keywords: access, Whiteboard: [fxcm-relay-all])

Attachments

(4 files, 1 obsolete file)

Prerequisites:

Found in Nightly 135.0a1 (2024-12-25)(64-bit)
Follow 'How to Test' steps in this Google Doc
Enable the Night Sky High Contrast theme

STR:

  1. Open Firefox Nightly
  2. Open Registration Forms page
  3. Click the email text input box under 'Registration form with username & password'. The autocomplete box will appear (this is the default style)
  4. Using the mouse, hover over the autocomplete box to observe the hover style
  5. Click the email text input box under 'Registration form with username & password' again. Press the Down arrow key to move focus to the first item in the autocomplete box. Observe the focus style
  6. When the autocomplete box is open, click the first option, 'Protect your email address'. Observe the active style

Expected / Actual:

The autocomplete menu items do not follow HCM styles. Please refer to the High Contrast Mode file in Figma

Default HCM styling:
ButtonFace background
ButtonText text

Hover HCM styling:
ButtonText background
ButtonFace text

Active HCM styling:
SelectedItem background
SelectedItemText text

Focus HCM styling:
CanvasText border
ButtonFace background
ButtonText text

The lack of the semantic styling in the High Contrast Mode (HCM) is an access-S3 issue since it makes it difficult to discern which element is, in fact, an active UI and could be activated if clicked, which one is now hovered and which one is not, for HCM users (those with low vision, users with cognitive disabilities, users with dyslexia, with colorblindness, and others).

We need to ensure the appropriate color pairs are used for forced-colors media query (HCM on Win), as described by Natalie in the bug

Accessibility Severity: --- → s3
Whiteboard: [fxcm-relay-all]
Assignee: nobody → vprema
Status: NEW → ASSIGNED

this testing page - Registration Forms - no longer shows the Relay dropdown.

please use this page for testing: https://www.wcopremium.tv/wp-login.php?action=register

Attachment #9503413 - Attachment description: Bug 1939129 and Bug 1939536 - Relay HCM dropdown and modal fix r?ayeddi → Bug 1939129 - Relay HCM dropdown fix r?ayeddi
Attachment #9479841 - Attachment is obsolete: true
Pushed by lcrouch@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/eff36a282615 https://hg.mozilla.org/integration/autoland/rev/d3ed677034a5 Relay HCM dropdown fix r=ayeddi,desktop-theme-reviewers,tgiles,emilio,accessibility-frontend-reviewers
Status: ASSIGNED → RESOLVED
Closed: 4 days ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: