Closed Bug 1848037 Opened 1 year ago Closed 10 months ago

HCM Improvements for the Shopping Sidebar

Categories

(Firefox :: Shopping, defect, P3)

Desktop
Unspecified
defect

Tracking

()

RESOLVED FIXED
Accessibility Severity s3

People

(Reporter: ayeddi, Assigned: emcminn)

References

(Blocks 1 open bug, )

Details

(Keywords: access, Whiteboard: [fidefe-shopping] )

Attachments

(8 files, 1 obsolete file)

activate a High Contrast Mode (Instructions), i.e. Night Sky theme on Windows 11

  1. Sidebar left border needs to be CanvasText to separate it from the page content
    1. To compare with the screenshot attached, in the Windows 11 Night Sky theme the border of the sidebar on the left should appear white.
  2. Not Now button keeps ButtonText color for the border when hovered, while it is expected to be SelectedItemText (otherwise it looks like it's in an active state). (refer to the Acorns > Buttons > States > (HCM), State = Hover examples).
    1. To compare with the screenshot attached, in the Windows 11 Night Sky theme the border should appear dark gray instead of yellow.
  3. All Buttons (i.e. X, V, toggle, Turn off...) use Canvas for their backgrounds instead of ButtonFace
    1. To compare with the screenshot attached below, in the Windows 11 Night Sky theme the background should appear dark gray instead of black.
  4. Focus indication for the Analyze Reviews and other hyperlinks (i.e. How Fakespot determines review quality) has focus outline that uses ButtonText instead of CanvasText
    1. To compare with the screenshot attached below, the border color should appear white instead of yellow.
  5. Focus indication for Settings V and other disclosures (How we determine... V incl.) is not as expected - both the placement of the outline and the color:
    1. it's ButtonText and outlines the whole row, while it's expected to add CanvasText outline to the chevron only since this is the element styled as a control in HCM - refer to the Acorns > Buttons > States > (HCM), State = Focus examples
    2. Or the entire Settings V control could be made look like a dropdown button - refer to the HCM Components reference in Figma (NDA'ed link) for an example.
    3. To compare with the screenshot attached below, the border color should appear white instead of yellow.
  6. Focused Checked toggle for Show products settings item is using ButtonText while CanvasText is expected for the outline color
    1. To compare with the screenshot attached below, the outline color should appear white instead of yellow.
Severity: -- → S3
Priority: -- → P3

Note - none of these are accessibility blockers (access-s2 or -s1), so this is not a highest priority item for 119.

Also, whoever picks this up, please split this bug into individual tasks before getting started :+1:

Depends on: 1849703
Assignee: nobody → emcminn

I believe #2 is fixed by https://phabricator.services.mozilla.com/D189017, importing the design tokens into the about:welcome styles.

I've attached a patch that should fix #1, 3 & 4, since they should be only CSS changes. I'll open a new bug to address #5, since we'll have to make a choice between the two options for the dropdown style - I lean toward the entire thing being styled as a button since the entire area is clickable, but I'll verify with product before working on that.

Attachment #9355713 - Attachment description: WIP: Bug 1848037 - HCM colour fixes for the shopping sidebar → Bug 1848037 - HCM colour fixes for the shopping sidebar
Depends on: 1856714
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED

Whoops, thought this was just a stale metabug, but there seems to be a patch attached to it. Reopening.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #9355713 - Attachment is obsolete: true

These fixes have been spread around and addressed in various other bugs:
https://bugzilla.mozilla.org/show_bug.cgi?id=1858407 &
https://bugzilla.mozilla.org/show_bug.cgi?id=1858374

The attached patch has been closed, so I'm going to close this as well :)

Status: REOPENED → RESOLVED
Closed: 11 months ago10 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: