Skip to content

EMERGE-Agency/wuhcag-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WUHCAG-JSON - Web Content Accessibility Guidelines (WCAG) 2.0

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.

Mission

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.

JSON File

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.

Contributing

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.

Setup

npm install will setup the required modules grunt build will build the JSON files.

Build

grunt build This task will read all YAML files and convert them

Yaml outline:

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.

About

Web Content Accessibility Guidelines (WCAG) 2.0 JSON

Resources

Stars

Watchers

Forks

Packages

No packages published