Skip to content
Permalink
Browse files

chore: WCAG ACT RULES CG Website Update (#437)

  • Loading branch information...
jkodu committed Apr 15, 2019
1 parent 7e1abee commit d38ab7e2d621f93aa213b0a151893bf3c9934ab8
Showing with 32,352 additions and 13,567 deletions.
  1. +6 −5 .circleci/config.yml
  2. +5 −5 .circleci/publish-site.sh
  3. +69 −11 .gitignore
  4. +0 −1 .nojekyll
  5. +9 −7 .prettierrc
  6. +0 −12 Gemfile
  7. +0 −106 Gemfile.lock
  8. +2 −59 LICENSE.md
  9. +1 −1 README.md
  10. BIN { → __deprecated__}/assets/images/1.1.1._test_step_overview.png
  11. BIN { → __deprecated__}/assets/images/1.1.1._text_alternative.png
  12. BIN { → __deprecated__}/assets/images/TextAlternativeComputation.png
  13. +16 −0 __deprecated__/glossary/outdated/content.md
  14. +20 −0 __deprecated__/glossary/outdated/interactive-element.md
  15. +83 −0 __deprecated__/glossary/outdated/is-data-table.md
  16. +25 −0 __deprecated__/glossary/outdated/lang-identification.md
  17. +6 −0 __deprecated__/glossary/outdated/rendered-text.md
  18. +39 −0 __deprecated__/glossary/outdated/short-text-description.md
  19. +6 −0 __deprecated__/glossary/outdated/source-code.md
  20. +10 −0 __deprecated__/glossary/outdated/surrounding-text.md
  21. +0 −58 _config.yml
  22. +0 −57 _data/contributors.yml
  23. +0 −833 _data/criteria.json
  24. +0 −47 _data/package.json
  25. +0 −1 _data/sc-urls.json
  26. +0 −903 _data/wcag2-en.json
  27. +0 −7,463 _data/wcag21-en.json
  28. +0 −243 _layouts/default.html
  29. +0 −15 _layouts/glossary.html
  30. +0 −139 _layouts/rule.html
  31. +0 −280 _plugins/codesnippetframe_and_testcases_generator.rb
  32. +0 −142 _plugins/glossary_generator.rb
  33. +9 −8 _rules/SC1-1-1-image-has-name.md
  34. +88 −23 _rules/SC1-2-1-audio-only-alternative.md
  35. +52 −15 _rules/SC1-2-1-audio-transcript.md
  36. +93 −25 _rules/SC1-2-1-media-alternative-audio.md
  37. +84 −54 _rules/SC1-2-1-media-alternative-video.md
  38. +68 −47 _rules/SC1-2-1-video-only-alternative.md
  39. +24 −18 _rules/SC1-2-1-video-only-audio-alternative.md
  40. +23 −23 _rules/SC1-2-1-video-only-description-track.md
  41. +15 −16 _rules/SC1-2-1-video-only-element-transcript.md
  42. +43 −24 _rules/SC1-2-2-video-has-audio-alternative.md
  43. +64 −33 _rules/SC1-2-2-video-has-captions.md
  44. +65 −39 _rules/SC1-2-3-video-alternative.md
  45. +49 −27 _rules/SC1-2-5-video-audio-alternative.md
  46. +28 −16 _rules/SC1-2-video-audio-description.md
  47. +33 −21 _rules/SC1-2-video-description-track.md
  48. +84 −53 _rules/SC1-2-video-media-alternative.md
  49. +11 −11 _rules/SC1-2-video-transcript.md
  50. +13 −13 _rules/SC1-3-1-aria-hidden-focus.md
  51. +23 −19 _rules/SC1-3-5-autocomplete-valid.md
  52. +112 −37 _rules/SC2-1-2-no-keyboard-trap-non-standard-navigation.md
  53. +27 −19 _rules/SC2-1-2-no-keyboard-trap-standard-navigation.md
  54. +132 −48 _rules/SC2-1-2-no-keyboard-trap.md
  55. +32 −31 _rules/SC2-2-1+SC2-2-4-meta-refresh.md
  56. +39 −37 _rules/SC2-4-2-page-has-title.md
  57. +35 −27 _rules/SC2-4-4+2-4-9+4-1-2-link-has-name.md
  58. +34 −19 _rules/SC2-4-6-descriptive-headings.md
  59. +23 −19 _rules/SC2-4-6-descriptive-labels.md
  60. +12 −11 _rules/SC2-5-3-label-content-name-mismatch.md
  61. +16 −16 _rules/SC3-1-1-html-has-lang.md
  62. +16 −16 _rules/SC3-1-1-html-lang-valid.md
  63. +13 −13 _rules/SC3-1-1-html-xml-lang-match.md
  64. +27 −29 _rules/SC3-1-2-lang-valid.md
  65. +8 −10 _rules/SC4-1-1-unique-attrs.md
  66. +17 −17 _rules/SC4-1-1-unique-id.md
  67. +23 −14 _rules/SC4-1-2-aria-attr-valid.md
  68. +6 −6 _rules/SC4-1-2-aria-state-or-property-allowed.md
  69. +64 −40 _rules/SC4-1-2-aria-state-or-property-has-valid-value.md
  70. +39 −38 _rules/SC4-1-2-button-has-name.md
  71. +15 −14 _rules/SC4-1-2-form-field-has-name.md
  72. +25 −16 _rules/SC4-1-2-iframe-has-name.md
  73. +17 −17 _rules/SC4-1-2-role-attribute-has-valid-value.md
  74. +7 −7 _rules/SC4-1-2-role-has-required-states-and-properties.md
  75. +17 −11 _rules/image-button-has-name.md
  76. +0 −552 assets/css/base.scss
  77. +0 −6 assets/css/main.scss
  78. +0 −40 assets/css/mixins.scss
  79. +0 −22 assets/css/palette.scss
  80. +0 −201 assets/js/default.js
  81. +0 −68 assets/js/jquery.stickyelement.js
  82. +0 −77 assets/js/page-implementations.js
  83. +0 −74 assets/js/page-rules.js
  84. +17 −0 build/create-file.js
  85. +70 −0 build/get-implementations.js
  86. +71 −0 build/get-wcag-sc-metadata.js
  87. +100 −0 build/implementation-json-ld-frame.js
  88. 0 gatsby-browser.js
  89. +85 −0 gatsby-config.js
  90. +5 −0 gatsby-node.js
  91. +86 −0 gatsby/create-glossary-uages-in-rules.js
  92. +69 −0 gatsby/create-page-add-md-context.js
  93. +129 −0 gatsby/create-page-generate-testcases.js
  94. +33 −0 gatsby/create-pages.js
  95. +36 −0 gatsby/get-all-matches-for-regex.js
  96. +18 −0 gatsby/get-component.js
  97. +57 −0 gatsby/get-node-data.js
  98. +53 −0 gatsby/on-create-node.js
  99. +24 −0 gatsby/queries.js
  100. +8 −0 gatsby/reg-exps.js
  101. +0 −17 index.md
  102. +16,153 −626 package-lock.json
  103. +141 −45 package.json
  104. +26 −8 pages/about.md
  105. +39 −37 pages/contribute.md
  106. +5 −5 pages/design/atomic-template-empty.md
  107. +7 −7 pages/design/composite-template-empty.md
  108. +10 −10 pages/design/definition-of-done.md
  109. +1 −1 pages/design/review.md
  110. +7 −7 pages/design/rule-design.md
  111. +17 −18 pages/design/rule-template.md
  112. +0 −1 pages/glossary/appropriate-field-for-the-form-control.md
  113. +1 −1 pages/glossary/audio-output.md
  114. +1 −1 pages/glossary/generic-placeholder-text.md
  115. +2 −2 pages/glossary/included-in-the-accessibility-tree.md
  116. +0 −25 pages/glossary/index.md
  117. +1 −3 pages/glossary/non-empty.md
  118. +3 −1 pages/glossary/standard-keyboard-navigation.md
  119. +1 −1 pages/glossary/text-content.md
  120. +2 −2 pages/glossary/valid-language-subtag.md
  121. +1 −0 pages/glossary/visible-on-the-page.md
  122. +1 −1 pages/glossary/visible-text-content.md
  123. +1 −1 pages/glossary/visual-output.md
  124. +0 −23 pages/implementations/coverage.md
  125. +6 −130 pages/implementations/overview.md
  126. +99 −0 pages/implementations/reporting.md
  127. +29 −0 pages/implementations/testcases.md
  128. +17 −0 pages/implementations/tools.md
  129. +61 −0 pages/license.md
  130. +0 −113 pages/rules.html
  131. +2 −3 pages/structure/accessibility-support.md
  132. +5 −5 pages/structure/terminology.md
  133. +75 −0 src/components/header/index.js
  134. +99 −0 src/components/header/index.scss
  135. +175 −0 src/components/layout/index.js
  136. +396 −0 src/components/layout/index.scss
  137. +81 −0 src/components/seo.js
  138. BIN src/images/logo.png
  139. +14 −0 src/pages/404.js
  140. +75 −0 src/pages/glossary.js
  141. +4 −0 src/pages/index.js
  142. +119 −0 src/pages/rules.js
  143. +81 −0 src/styles/base.scss
  144. +73 −0 src/styles/mixins.scss
  145. +183 −0 src/styles/prism-a11y.scss
  146. +8 −0 src/styles/variables.scss
  147. +76 −0 src/templates/coverage.js
  148. +71 −0 src/templates/default.js
  149. +38 −0 src/templates/glossary.js
  150. +226 −0 src/templates/rule.js
  151. +121 −0 src/utils/render-fragments.js
  152. +0 −48 wcag-url-generator.js
  153. +11,015 −0 yarn.lock
@@ -7,19 +7,21 @@ general:

defaults: &defaults
docker:
- image: circleci/ruby:2.4.3-node-browsers
- image: circleci/node:10-browsers

restore_dependency_cache: &restore_dependency_cache
restore_cache:
keys:
- v1-npm-cache-{{ checksum "package.json" }}
- v1-npm-cache-
- v2-npm-cache-{{ checksum "package.json" }}
- v2-npm-cache-

jobs:
# A dummy placeholder job to not fail circleci status for other branches than `master`
base:
<<: *defaults
steps:
- run: echo "circleci job to not fail status checks"
# get deps
dependencies:
<<: *defaults
steps:
@@ -34,8 +36,7 @@ jobs:
steps:
- checkout
- <<: *restore_dependency_cache
- run: bundle install
- run: bundle exec jekyll build
- run: npm run build
- deploy:
name: Deploy to master branch from develop branch
command: bash .circleci/publish-site.sh
@@ -6,12 +6,12 @@ git config user.email "$USER_EMAIL"
git checkout master
git pull origin master

# remove all files except the generated site directory and required git folders
find . -maxdepth 1 ! -name '_site' ! -name '.circleci' ! -name '.git' ! -name '.gitignore' -exec rm -rf {} \;
# remove all files except the generated public directory and required git folders
find . -maxdepth 1 ! -name 'public' ! -name '.circleci' ! -name '.git' ! -name '.gitignore' -exec rm -rf {} \;

# move generated site in the root folder and remove the empty generated site folder
mv _site/* .
rm -R _site/
# move generated public in the root folder and remove the empty generated public folder
mv public/* .
rm -R public/

# commit and push
git add -fA
@@ -1,15 +1,73 @@
# Defaults
node_modules
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Ide
.idea
.vscode
# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Site
.sass-cache
_site
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# auto generated testcases
_testcases-embeds/*.*
exported-testcases
# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# dotenv environment variables file
.env

# gatsby files
.cache/
public

# Mac files
.DS_Store

# Yarn
yarn-error.log
.pnp/
.pnp.js
# Yarn Integrity file
.yarn-integrity

# Data
_data/
!_data/*.md

This file was deleted.

@@ -1,9 +1,11 @@
{
"endOfLine": "lf",
"semi": false,
"singleQuote": true,
"printWidth": 70,
"bracketSpacing": true,
"useTabs": false,
"trailingComma": "none",
"arrowParens": "avoid"
}
"printWidth": 80,
"tabWidth": 2,
"useTabs": true,
"trailingComma": "es5",
"singleQuote": true,
"bracketSpacing": true,
"arrowParens": "avoid"
}
12 Gemfile

This file was deleted.

This file was deleted.

0 comments on commit d38ab7e

Please sign in to comment.
You can’t perform that action at this time.