GithubHelp home page GithubHelp logo

hremonen / swiftcontrast Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 312 KB

SwiftContrast: Color picker with instant WCAG contrast analysis for accessible design.

Home Page: https://www.swiftcontrast.com/

License: MIT License

JavaScript 0.71% CSS 2.94% TypeScript 96.07% Shell 0.28%
contrast-ratio semantic-html wcag-aa wcag-aaa wcag-contrast wcag2 contrast-che

swiftcontrast's Introduction

swiftcontrast's People

Contributors

hremonen avatar renovate[bot] avatar

Watchers

 avatar

swiftcontrast's Issues

Create checker for link color contrast stuff

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

  • Input for link color (the text of the link)
  • Input for the body text color (the color of the text that is surrounding the link)
  • Input for the background color (the color that is surrounding the paragraph or whatever)

Create CI

  • Run lint
  • Run static analysis tool like codeclimate or whatever
  • Run tests
  • Setup release to Vercel

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm eslint-config-standard-with-typescript Available

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): replace dependency eslint-config-standard-with-typescript with eslint-config-love ^43.0.1

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/production.yaml
  • actions/checkout v3
.github/workflows/staging.yaml
  • actions/checkout v4
.github/workflows/static-analysis.yaml
  • actions/checkout v4
npm
package.json
  • @typescript-eslint/eslint-plugin ^6.20.0
  • @vercel/analytics ^1.2.2
  • eslint-plugin-jsx-a11y ^6.8.0
  • husky ^8.0.3
  • lint-staged ^15.2.0
  • next 14.0.4
  • next-themes ^0.2.1
  • react ^18
  • react-dom ^18
  • react-icons ^4.12.0
  • save-dev ^0.0.1-security
  • @tailwindcss/typography ^0.5.10
  • @types/node ^20
  • @types/react ^18
  • @types/react-dom ^18
  • autoprefixer ^10.0.1
  • eslint ^8
  • eslint-config-airbnb ^19.0.4
  • eslint-config-airbnb-typescript ^17.1.0
  • eslint-config-next 14.0.4
  • eslint-config-prettier ^9.1.0
  • eslint-config-standard-with-typescript ^43.0.1
  • eslint-plugin-import ^2.29.1
  • eslint-plugin-n ^16.6.2
  • eslint-plugin-prettier ^5.1.3
  • eslint-plugin-promise ^6.1.1
  • eslint-plugin-react ^7.33.2
  • postcss ^8
  • prettier ^3.2.5
  • prettier-plugin-tailwindcss ^0.5.11
  • tailwindcss ^3.3.0
  • typescript ^5

  • Check this box to trigger a request for Renovate to run again on this repository

Experiment with a uniform color input

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.

Validate the copy from clipboard input

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.

Create How To section

  • Explain how the thing works. Above the "main part", make it an accordion however
  • Add explanations for the different WCAG success criteria

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.