gdkraus / color-contrast-chrome Goto Github PK
View Code? Open in Web Editor NEWColor Contrast Analyzer Extension for Google Chrome
License: Other
Color Contrast Analyzer Extension for Google Chrome
License: Other
Love this but tends to bug out when checking this page:
https://online-sit.agriculture.gov.au/auth/faces/createAccount
MacBook Pro (15-inch, 2017)
16 GB RAM
Video: Radeon Pro 560 4 GB
Intel HD Graphics 630 1536 MB
Chrome Version 88.0.4324.96 (Official Build) (x86_64)
When scrolling down a page and choosing to capture a region of the page, it's only possible in the area that's displayed initially without scrolling.
While capturing the full page still is possible, together with the Capture Page Region is ignoring devicePixelRatio problem it's a very time consuming process.
I really love this tool and use it daily, so please fix these problems.
When capturing a page region, the devicePixelRatio is being ignored. For example, on a retina display (devicePixelRatio == 2), the captured region bounds are exactly half the correct width, half the correct height, and positioned at half the correct x/y coordinates. Most browsers expose devicePixelRatio as a standard property of the window so this information should be easily determined.
This devicePixelRatio problem also manifests when rendering the other capture method results. It will display the processed image at twice the correct size (when devicePixelRatio is 2).
Upon load of ANY website, if Color Contrast Analyzer plugin is enabled, the Chrome Debug console shows the following error:
Unchecked runtime.lastError: The message port closed before a response was received.
This error goes away if you disable the Color Contrast Analyzer plugin, and refresh the website tested.
Tested on:
Macbook Pro macOS Mojave 10.14.4
Google Chrome Version 74.0.3729.131 (Official Build) (64-bit)
In order to emphasize the failures, highlight the places a page fails. This will probably necessitate filtering out pixel differences where the ratio is 0, like for solid background colors.
May not be the best place to report this but getting 403s from the URL:
http://accessibility.oit.ncsu.edu/tools/color-contrast-chrome/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.