Code Monkey home page Code Monkey logo

a11y-automation's Introduction

a11y-automation

Netlify Status

Table of Contents

This app is a work in progress; improvements and collaboration are welcome.

Introduction

The app aims to track a few things:

  • potential violations; that is, specific ways an app could fail digital accessibility success criteria (called violations in this app)
  • automated linting methods available for each violation
  • automated testing methods available for each violation
  • manual testing methods, if they are required
  • The styles in this app are primarily provided by Tailwind.

This is an Ember app, which means you'll need to have Ember installed (npm install -g ember-cli) to contribute. Contributions are welcome, and come in many different flavors:

  • filing bugs
  • filing new feature requests
  • submitting a PR to resolve an issue, improve the styling, or add a new feature
  • improving the README or other documentation
  • adding art/graphics

Issues that have been evaluated for ease of contribution will have the label pr-welcome, but if you feel confident to participate as a professional, then please do so! PRs that align with the goals of the project will be reviewed.

Getting Started

To work on this app locally, follow these steps:

  1. Clone the repository: git clone https://github.com/MelSumner/a11y-automation.git
  2. Switch to the app's directory: cd a11y-automation
  3. Install missing dependencies: yarn
  4. Build the app: ember s.
  5. it'll be available at http://localhost:4200/ in your browser of choice.

Contributing

To contribute to this project, please follow our contributing guidelines.

To add assets (such as images or fonts) to the app, place them in the appropriate sub-folder in the public folder.

Adding Data

The data in this app is stored as individual .md files, which are then converted (automatically!) into .json for use in the application. This makes it fairly straightforward to add a new rule item or tag- it's done by adding a single .md file! Additionally, some generators have been created to streamline this process. (Want to see the automatic conversion in action? After you start the app locally, visit http://localhost:4200/violations/all.json to see the compiled JSON output! Neat, huh?)

Add a new violation

To add a new file to track a potential a11y violation, you can add one manually to the violations folder, or you can use the generator to generate the file and put it in the correct location- ember generate violations rule-name where rule-name is the name of the rule to be added. Note: Only ONE new file should be submitted per pull request unless previously coordinated.

Add a new tag

To add a new tag file, you can add one manually to the tags folder, or you can use the generator file from the command line: ember generate tags tag-name where tag-name is a dasherized version of the criterion. For example, WCAG 1.1.1 becomes wcag-1-1-1 and the entire command would look like this: ember generate tags wcag-1-1-1. Only ONE tag file should be generated per pull request unless previously coordinated.

Questions, Suggestions, or Concerns

If you have any questions, suggestions or concerns, the best way to resolve them is to file an issue on this repo and I'll respond ASAP. I'll also try to list questions I've already been asked, in case you are wondering about it as well.

Inclusion in Documentation

Although this app currently tracks linting from ember-template-lint and testing from axe-core, we have expanded support to include linting for other JavaScript frameworks. If you want to contribute linting support for other frameworks, please follow the format in the existing violations to allow your PR to be accepted/merged more readily.

a11y-automation's People

Contributors

melsumner avatar renovate-bot avatar renovate[bot] avatar jvmoreira avatar mansona avatar grunet avatar minthamie avatar shivareddy-aluri avatar glnster avatar josephdsumner avatar fedqk avatar legallai avatar tremby avatar dinil-thilakarathne avatar gnclmorais avatar lenoraporter avatar sdahlbac avatar mofiebiger avatar abdulsamad avatar adamchaboryk avatar amyrlam avatar andrewsnapz avatar ashwanthramkl avatar josebolos avatar rodrigocnascimento avatar ember-tomster avatar

Watchers

 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.