2021 redesign of the WCAG-EM Report Tool de
  • Svelte 63%
  • JavaScript 32.5%
  • HTML 3.7%
  • CSS 0.8%
Find a file
Kenneth G. Franqueiro 4138a433dc
Add wcag.json update script and apply update (#186)
Also corrects case in nvmrc to fix CI
2025-04-16 13:20:49 -04:00
.github Update main.yml 2023-12-19 13:28:52 -05:00
docs Remove unused guidance 2021-07-07 14:43:33 +02:00
rollup/rollup-plugin-merge-json fix broken i18n on Windows 2021-05-12 18:08:39 +01:00
src Add wcag.json update script and apply update (#186) 2025-04-16 13:20:49 -04:00
.editorconfig Feature/update to wcag 2.1 (#301) 2019-10-28 15:09:05 +01:00
.eslintrc.js Update eslintrc; Add indent rule for switchcase! 2021-03-05 11:28:52 +01:00
.gitattributes Initial yeoman install 2014-05-21 13:43:24 +02:00
.gitignore Updates for WCAG 2.2 (#132) 2023-12-11 10:07:31 -06:00
.nvmrc Add wcag.json update script and apply update (#186) 2025-04-16 13:20:49 -04:00
.prettierrc.js Update prettier config for prettier-plugin-svelte 2020-10-13 08:49:31 +02:00
CHANGELOG.md #81 Updated changelog 2021-10-06 10:19:56 +02:00
CODE_OF_CONDUCT.md Updated config file. Added CoC 2018-10-17 12:30:40 -04:00
LICENSE Merge branch 'feature/rebuild-svelte' of github.com:w3c/wcag-em-report-tool into feature/rebuild-svelte 2021-05-19 16:13:16 +02:00
netlify.toml Update netlify.toml 2021-07-06 17:33:29 +02:00
package-lock.json Add wcag.json update script and apply update (#186) 2025-04-16 13:20:49 -04:00
package.json Add wcag.json update script and apply update (#186) 2025-04-16 13:20:49 -04:00
README.md Clarify development setup by adding default localhost URL to README 2021-12-21 19:33:12 +01:00
rollup.config.js Stick build year into the footer for copyright 2021-07-29 17:09:33 +02:00
update-wcag-json.mjs Add wcag.json update script and apply update (#186) 2025-04-16 13:20:49 -04:00
w3c.json Updates for WCAG 2.2 (#132) 2023-12-11 10:07:31 -06:00

WCAG-EM Report Tool

Preview

About this tool

The WCAG-EM Report tool is an assistant that takes the user through the process of evaluating the accessibility of a website, using the WCAG Evaluation Methodology.

It is developed by the Web Accessibility Initiative (WAI) at the World Wide Web Consortium (W3C). Initially developed with support from the WAI-ACT Project, and updated with support of the WAI-Tools Project, co-funded by the European Commission (EC).

Environments

This tool is available on:

Environment URL(s) Hosted at
production w3.org/WAI/eval/report-tool GitHub Pages of this repository
preview of main branch https://wcag-em-report-tool-2021-redesign.netlify.app/ Netlify
previews of Pull Requests see comment at individual Pull Request Netlify

Local development

For local development, you will need to have Node installed.

We use Svelte so that we can express the code of this project in components and Rollup to bundle all JavaScript together.

First time

  1. Clone the repository (you can fork it first)
  2. In the project folder, run npm install, this gets all the Node dependencies

After first time

  1. For development, run npm run dev, this builds the project, serves the application on a local server (localhost:10001 per default) so that you can look at it and watches for any changes you make to the code.
  2. To only build the application, run npm run build, this builds the project without serving it.

Publishing in a sub folder

If you want to publish this tool somewhere that is not the root domain (eg w3.org/WAI/eval/report-tool instead of wcagemreporttool.com), set the BASEPATH variable before you run npm run build|dev, for example:

export BASEPATH="/WAI/eval/report-tool"

This ensures routing and paths to assets continue to work.

Contributing

If you find any problem, feel free to file an issue.

You can also add a new language, see How to add a language.