Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Medium] Chrome: Color Contrast: Insufficient color contrast for error messages text. #8580

Closed
SumitDiyora opened this issue Apr 9, 2022 · 1 comment

Comments

@SumitDiyora
Copy link

SumitDiyora commented Apr 9, 2022

Action Performed:

  1. Using Chrome+JAWS, open URL: staging.new.expensify.com
  2. Navigate to Settings > Payments > Add payment method > Debit card.
  3. Navigate to the "Save" button and activate it with empty form fields.
  4. Observe that the analyser reports that the contrast ratio is not sufficient for error messages.

Expected Result:

The "Please enter a valid name", "Please enter a valid debit card number", "Please enter a valid expiration date", etc. error messages should have a contrast ratio against the page background of 4.5:1 or greater.

Actual Result:

Background/foreground color combinations with an insufficient contrast ratio was found in the text. For instance, the #FC3826 "Please enter a valid name", "Please enter a valid debit card number", "Please enter a valid expiration date", etc. error messages have an insufficient color contrast ratio of 3.7.1 with a #FFFFFF background.

Other occurrences

Same issue repro on PR #9207, #9369, #9056
Same issue repro on PR #9486 for error messages of phone number field.

Workaround:

Yes

Area issue was found in:

Add a debit card

Failed WCAG checkpoints

1.4.3

User impact:

It will be a bit confusing or there will be difficult to perceive the content for the low vision users if the color contrast ratio does not meet the minimum requirement.

Suggested resolution:

Ensure that each text/background color combination presents a contrast ratio of at least 4.5:1.

Platform:

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.1.49-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
Reference link: https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum.html
Issue reported by: Sumit

#8017_CCA fails for Error messages

@melvin-bot
Copy link

melvin-bot bot commented Jun 27, 2022

@SumitDiyora, this Monthly task hasn't been acted upon in 6 weeks; closing.

If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.

@melvin-bot melvin-bot bot closed this as completed Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant