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

Elements must have sufficient color contrast #89

Open
5 tasks
meduzen opened this issue Apr 15, 2023 · 0 comments
Open
5 tasks

Elements must have sufficient color contrast #89

meduzen opened this issue Apr 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@meduzen
Copy link
Owner

meduzen commented Apr 15, 2023

From latest Playwright action, in:

  • 10 links matching a .site__link__inner (various contrasts);
  • .caniuse .site__description (contrast: 3.17)
  • .cssdb .site__description (contrast: 4.24)
  • .caniemail .site__description (contrast: 3.01)
  • footer links with the accent class (contrast: 3.5)

Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds
Expected contrast ratio of 4.5:1

Level: WCAG 2 AA (1.4.3), serious (Axe color-contrast).

  • Instead of strict compliance, consider testing color contrast using APCA. For now, no automation is available for this (thou it could be built), and nothing is planned at Deque.
  • For the 10 links matching a > .site__link__inner, these are the labels of full-clickable cards becoming more readable on hover or focus. Research how good/bad it is.
@meduzen meduzen added the bug Something isn't working label Apr 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant