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

Add warnings to output for alpha levels in contrast check #223

Merged
merged 2 commits into from
Jul 5, 2018

Commits on Jul 4, 2018

  1. Configuration menu
    Copy the full SHA
    5f45d32 View commit details
    Browse the repository at this point in the history
  2. Issue warnings for alpha in contrast checking.

    Three complications with calculating the "flattened" (non-alpha) representation of font color and background color are:
    * determining what is actually behind the text - elements may be positioned with css such that it's very hard to determine what element is the background of some or all of the text
    * the css opacity element may introduce further aspects of transparency
    * transparent background can reveal images where contrast cannot be calculated
    phillbaker committed Jul 4, 2018
    Configuration menu
    Copy the full SHA
    5086fe6 View commit details
    Browse the repository at this point in the history