The search icon in Windows high contrast barely shows. This is because high contrast does not change the backgrounds or borders for SVGs.

Comments

mherchel created an issue. See original summary.

mherchel’s picture

Status: Active » Needs review
StatusFileSize
new1.15 KB

The solution that I implemented is to insert a white background <rect> behind the magnifying glass icon.

mherchel’s picture

gauravvvv’s picture

Assigned: Unassigned » gauravvvv
gauravvvv’s picture

I have attached the before and after patch screenshot for reference.
Looks good. Moving to RTBC.

gauravvvv’s picture

Status: Needs review » Reviewed & tested by the community
gauravvvv’s picture

Assigned: gauravvvv » Unassigned
mherchel’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new183.56 KB
new179.02 KB
new1.79 KB

Discussed this with @lauriii last week. A better way to do this is to use currentColor. New patch attached.

gauravvvv’s picture

Referring to screenshots provided in #8, the Icon is now visible without background color.

This is ready for RTBC.

gauravvvv’s picture

Status: Needs review » Reviewed & tested by the community
mgifford’s picture

Issue tags: +high contrast, +wcag131

  • lauriii committed a5fd926 on 9.2.x
    Issue #3206290 by mherchel, Gauravmahlawat: Olivero: Windows high...
lauriii’s picture

Status: Reviewed & tested by the community » Fixed

Committed a5fd926 and pushed to 9.2.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.