Code Monkey home page Code Monkey logo

accessibility-calculator's Introduction

accessibility-calculator

The web accessibility calculator used at A11yWatch.

The source code is setup to be view only and not something to start up. In order to use the code you need to drop it in your project by copying the code and making some adjustments.

Required Modules

The code used has some modules that we depend on to help improve the experience. The also depends on next.js since that is what we use at A11yWatch for the client.

Install the following for the application:

  1. react
  2. next-translate
  3. @nivo/core
  4. @nivo/bar
  5. react-lag-radar
  6. react-icons
  7. @headlessui/react
  8. prettier
  9. chance

Install the following for testing comparison:

  1. kayle
  2. [email protected] - used to load deps missing for browser

Install dev modules:

  1. typescript
  2. tailwindcss

Optional: setup your translations with a target named oss-accessibility-benchmarks

Getting Started.

import { CalculatorProvider } from './calculator/provider'
import { RenderCalculatorApp } from './calculator/render-intro'
import { RenderCalculatorApp } from './calculator/render'

export const OSSWebAccessibilityBenchmarks = () => {
  const { lang } = useTranslation('oss-accessibility-benchmarks')

  return (
    <CalculatorProvider lang={lang}>
        <>
            <RenderCalculatorIntro />
            <RenderCalculatorApp />
        </>
    </CalculatorProvider>
  )
}

In the future we plan on releasing it as an npm package that could be included. It should take very minimal changes to get the project up and running.

accessibility-calculator's People

Contributors

j-mendez avatar

Watchers

 avatar  avatar

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.