mmiron-HC / WST-RSAMS

0 stars 0 forks source link

CAPTCHA: Focus/hover state of the checkbox fails contrast ratio #167

Open sarasuri opened 2 years ago

sarasuri commented 2 years ago

Page: All (CAPTCHA under Report a problem or mistake on this page) URL: https://recalls-rappels.canada.ca/en User Agent: Firefox (v99) Language: English and French

Issue Description: The focus and hover states of the checkbox fail contrast ratio against its adjacent colour

Focus state = #4d90fe Hover state = #b2b2b2 Adjacent colour= #f9f9f9

image image

image image

Steps to reproduce:

  1. Go to the above URL
  2. Expand the Report a problem or mistake on this page component
  3. Tab to the checkbox under CAPTCHA
  4. Hover over the checkbox
  5. Use Colour Contrast Analyser to verify the contrast ratio

Expected results: The focus and hover states of the checkbox should have a contrast ratio of at least 3:1 against its adjacent colour.

echouin commented 3 months ago

believe this has been fixed.

YuxuanXie01 commented 3 months ago

Retested, issue persists. Contrast ratio slightly falls below 3:1 when in focus state, where it should be at least 3:1 against adjacent colour: image

Contrast ratio remains at 2:1 when in hover state, where it should be at least 3:1 against adjacent colour: image

40999221 commented 3 months ago

Issue is still exist. Focus state color contrast ratio is just below 3:1 as shown below:

image

zimw7 commented 3 months ago

Issue still exists. Focus state colour contrast ratio is below 3:1 as shown below: image

Hover state colour contrast ratio is 2:1 as shown below: image

mmiron-HC commented 3 months ago

@YuxuanXie01 Please copy this ticket over to ART-2605 Put the status of this one to Escalated and please include a note to say that this is a google product limitation. Add product_limitation to the labels as well