hremonen / swiftcontrast Goto Github PK
View Code? Open in Web Editor NEWSwiftContrast: Color picker with instant WCAG contrast analysis for accessible design.
Home Page: https://www.swiftcontrast.com/
License: MIT License
SwiftContrast: Color picker with instant WCAG contrast analysis for accessible design.
Home Page: https://www.swiftcontrast.com/
License: MIT License
HTML color input is browser specific thus making it not uniform form all users.
However the color input must be accessible.
Experiment with different color pickers if there would be something good that checks all the boxes.
This would possibly create unwanted dependencies.
Conside the following stack to bootstrap the project: https://create.t3.gg/
We do not want to paste from the clipboard if the pasted value is not hex.
This would make the ux better. Pasting something from the clipboard accidentally for example now is a bit pain in the ass.
Also reconsider if the paste should be behind a button and the copying should be by double-click.
Links add more complexity to the color contrast requirements.
Links should be underlined, otherwise the text must have at least 3:1 contrast with the surrounding body text. Also links must have hover and focus indicators.
Additionally the link text and the body text must have at least 4.5:1 (small text) contrast with the background or 3:1 with large text.
Create a new "feature" that is used solely for checking the contrast ratios of links
Add a slider for lightness, this should also affect the contrast ratio obviously
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.