This project is based on the wonderful web accessibility content found at www.wuhcag.com and written by Luke McGrath in combination with the work from the W3C's WCAG 2.0 Guidelines.
EMERGE wanted to get the WCAG 2.0 guidelines into JSON format. We also love the work Luke McGrath did by "translating" the guidelines into content that is easier to understand so we thought it would be cool to combine the two and make them available to the world. We use the resulting data in our Accessibility Checklist iOS and Android Apps.
You will find the JSON file in dist/wcag.json
along with a minified version here dist/wcag.min.json
. The file contains all of the W3C WCAG 2.0 guidelines along with custom content from Luke McGrath's Accessibility Checklist.
The project is Grunt-based and leverages YAML partial files that are converted to JSON format and then compressed into a single file.
You should only edit /src/*.yml
files. When ready to build run the grunt build
command. If you get errors double check your YAML formatting. Be sure to only use spaces in the .yml files and NOT tabs.
npm install
will setup the required modules
grunt build
will build the JSON files.
grunt build
This task will read all YAML files and convert them
key: ""
id: ""
title: ""
description: ""
uri: ""
conformance_level: ""
wuhcag_summary: ""
wuhcag_detail: |
wuhcag_tips: |
wuhcag_what_to_do: |
wuhcag_exceptions: |
wuhcag_related:
- key: ""
conformance_level: ""
This project is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.