Skip to content

Check for automated AA and AAA conformance color contrast according to the WCAG

Notifications You must be signed in to change notification settings

Palmaswell/forward

Repository files navigation

Forward

Check for automated AA and AAA conformance color contrast according to the WCAG

CircleCI

Forward is an automated accessibility color contrast checker that receives a color palette as the input and returns all its possible AA and AAA color contrast combinations.

screenshot

Uploading Colors

Currently, you can upload a color palette in JSON format. It's an array containing color objects. Each object has a "name" property and a "rgb" property containing an array with the rgb values [r, g, b].

JSON File Example

[
  {
    "name": "Light Pink",
    "rgb": [255, 176, 193]
  },
  {
    "name": "Cyclamen",
    "rgb": [243, 116, 174]
  },
  {
    "name": "Light Crimson",
    "rgb": [234, 99, 140]
  }
}

Develop

  • 🚀 Node.js >=8
  • 🐈 yarn >= 1.12
  git clone https://github.com/Palmaswell/forward.git
  cd forward
  yarn
  
  yarn dev

  # In a second terminal window
  yarn test --watchAll

Contribute

Feel free to contribute! Open an issue, submit a Pull Request or let’s discuss what should be next. ❤️

About

Check for automated AA and AAA conformance color contrast according to the WCAG

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published