{"id":22423403,"url":"https://github.com/prantlf/grunt-accessibility-html-report-converter","last_synced_at":"2026-02-21T22:02:38.294Z","repository":{"id":57254552,"uuid":"112004929","full_name":"prantlf/grunt-accessibility-html-report-converter","owner":"prantlf","description":"Converts the JSON report of the grunt-accessibility task to HTML.","archived":false,"fork":false,"pushed_at":"2019-12-27T12:46:08.000Z","size":259,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T11:48:08.325Z","etag":null,"topics":["accessibility","grunt-accessibility","grunt-task","html","reporter"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prantlf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-25T13:16:22.000Z","updated_at":"2019-09-23T10:53:33.000Z","dependencies_parsed_at":"2022-08-31T08:21:15.221Z","dependency_job_id":null,"html_url":"https://github.com/prantlf/grunt-accessibility-html-report-converter","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/prantlf/grunt-accessibility-html-report-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fgrunt-accessibility-html-report-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fgrunt-accessibility-html-report-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fgrunt-accessibility-html-report-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fgrunt-accessibility-html-report-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prantlf","download_url":"https://codeload.github.com/prantlf/grunt-accessibility-html-report-converter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fgrunt-accessibility-html-report-converter/sbom","scorecard":{"id":743705,"data":{"date":"2025-08-11","repo":{"name":"github.com/prantlf/grunt-accessibility-html-report-converter","commit":"afbc71e18362faf5e7493ae955d553fd8fd254cf"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"42 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-h6ch-v84p-w6p9","Warn: Project is vulnerable to: GHSA-phwq-j96m-2c2q","Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-957j-59c2-j692","Warn: Project is vulnerable to: GHSA-m5pj-vjjf-4m3h","Warn: Project is vulnerable to: GHSA-j383-35pm-c5h4","Warn: Project is vulnerable to: GHSA-rm36-94g8-835r","Warn: Project is vulnerable to: GHSA-w457-6q6x-cgp9","Warn: Project is vulnerable to: GHSA-62gr-4qp9-h98f","Warn: Project is vulnerable to: GHSA-f52g-6jhx-586p","Warn: Project is vulnerable to: GHSA-2cf5-4w76-r9qv","Warn: Project is vulnerable to: GHSA-3cqr-58rm-57f8","Warn: Project is vulnerable to: GHSA-g9r4-xpmj-mj65","Warn: Project is vulnerable to: GHSA-q2c6-c6pm-g3gh","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T18:10:46.855Z","repository_id":57254552,"created_at":"2025-08-22T18:10:46.855Z","updated_at":"2025-08-22T18:10:46.855Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29694791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T18:18:25.093Z","status":"ssl_error","status_checked_at":"2026-02-21T18:18:22.435Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["accessibility","grunt-accessibility","grunt-task","html","reporter"],"created_at":"2024-12-05T18:11:16.909Z","updated_at":"2026-02-21T22:02:38.272Z","avatar_url":"https://github.com/prantlf.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grunt-accessibility-html-report-converter\n\n[![NPM version](https://badge.fury.io/js/grunt-accessibility-html-report-converter.png)](http://badge.fury.io/js/grunt-accessibility-html-report-converter)\n[![Build Status](https://travis-ci.org/prantlf/grunt-accessibility-html-report-converter.svg?branch=master)](https://travis-ci.org/prantlf/grunt-accessibility-html-report-converter)\n[![Dependency Status](https://david-dm.org/prantlf/grunt-accessibility-html-report-converter.svg)](https://david-dm.org/prantlf/grunt-accessibility-html-report-converter)\n[![devDependency Status](https://david-dm.org/prantlf/grunt-accessibility-html-report-converter/dev-status.svg)](https://david-dm.org/prantlf/grunt-accessibility-html-report-converter#info=devDependencies)\nio/)\n[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n[![NPM Downloads](https://nodei.co/npm/grunt-accessibility-html-report-converter.png?downloads=true\u0026stars=true)](https://www.npmjs.com/package/grunt-accessibility-html-report-converter)\n\nThis module provides a grunt multi-task for converts the JSON report generated by the [grunt-accessibility] task to the HTML format. It uses [grunt-accessibility-html-reporter] to format the accessibility check results.\n\n## Installation\n\nYou need [node \u003e= 4][node], [npm] and [grunt \u003e= 0.4.5][Grunt] installed\nand your project build managed by a [Gruntfile] with the necessary modules\nlisted in [package.json]; including [grunt-accessibility]. If you haven't\nused Grunt before, be sure to check out the [Getting Started] guide, as it\nexplains how to create a Gruntfile as well as install and use Grunt plugins.\nOnce you're familiar with that process, you may install this plugin with this\ncommand:\n\n```shell\n$ npm install grunt-accessibility-html-report-converter --save-dev\n```\n\n## Configuration\n\nAdd the `accessibility-html-report-converter` entry with the task configuration to the options of the `grunt.initConfig` method:\n\n```js\ngrunt.initConfig({\n  'accessibility-html-report-converter': {\n    all: {\n      src: 'accessibility/report.json',\n      dest: 'accessibility/report.html'\n    }\n  }\n});\n```\n\nDefault options support the most usual usage scenario:\n\n```js\n'accessibility-html-report-converter': {\n  options: {\n    targetExtension: '.html',\n    ignoreMissing: false,\n    showFileNameOnly: false,\n    showCommonPathOnly: true,\n    force: false\n  },\n  all: {\n    src: 'accessibility/report.json',\n    dest: 'accessibility/report.html'\n  }\n}\n```\n\n### Task Options\n\n#### force\nType: `Boolean`\nDefault value: false\n\nIf set to `true`, it suppresses failures, which happened during the report conversion. Instead of making the Grunt fail, the errors will be written only to the console.\n\n#### ignoreMissing\nType: `Boolean`\nDefault: `false`\n\nIf the `src` property does not point to any files, or if it is missing,\nthe task will make the Grunt run fail.  If you set the `ignoreMissing`\noption to `true`, Grunt will continue executing other tasks.\n\n#### targetExtension\nType: `String`\nDefault: \".html:\n\nIf the `dest` property specified only the target directory, the converted report file will be stored there with the file extension replaced to \".html\" or to the extesion specified by this property.\n\n#### showFileNameOnly\nType: `Boolean`\nDefault value: `false`\n\nCuts the directory from tested HTML files, when creating page titles from in the report. If you use unique names for files alone, you will not get too long page titles, if you flip this flag tp `true`.\n\n### Task Data\n\nThe configuration consists of `src` and `dest` property pairs.  The `src`\nproperty has to point to an existing source path.  The `dest` property has\nto point to the path, where the converted report should be written.\n\nIf you do not end the `dest` path by the path separator (slash, for example), the `dest` path will be considered as if it includes the converted report file name too.\n\nIf you end the `dest` path by a path separator (slash, for example), the\nconverted report will be created using the source report name with the HTML expension.\n\nIf you specify more source files or directories, or use wildcards, the target path should be a directory - ended by the path separator (slash, for example).\n\n#### src\nType: `String` or `Array`\n\nPath to the file with the JSON report generated by the `accessibility` task, or a path pattern identifying these file, or an array of these.\n\n#### dest\nType: `String`\n\nPath to the file, which will be the HTML report written to. Or only the path to the directory, where it should be written, if the source report name with the HTML expension shoudl be used.\n\n### Loading\n\nLoad the plugin in `Gruntfile.js`:\n\n```javascript\ngrunt.loadNpmTasks('grunt-accessibility-html-report-converter');\n```\n\n## Build\n\nCall the `accessibility-html-report-converter` task:\n\n```shell\n$ grunt accessibility-html-report-converter\n```\n\nor integrate it to your build sequence in `Gruntfile.js`:\n\n```js\ngrunt.registerTask('default', ['accessibility-html-report-converter', ...]);\n```\n\n## Notes\n\nThis task will be usually executed right after the `accessibility` task. For example:\n\n```js\ngrunt.initConfig({\n  accessibility: {\n    all: {\n      src: ['snapshots/*.html']\n    }\n  },\n\n  'accessibility-html-report-converter': {\n    all: {\n      src: 'accessibility/report.json',\n      dest: 'accessibility/'\n    }\n  }\n});\n\ngrunt.loadNpmTasks('grunt-accessibility');\ngrunt.loadNpmTasks('grunt-accessibility-html-report-converter');\n\ngrunt.registerTask('default', [\n  'accessibility', 'accessibility-html-report-converter']);\n```\n\nThe installation of the necessary Grunt tasks:\n\n```bash\nnpm install grunt-accessibility grunt-accessibility-html-report-converter --save-dev\n```\n\n## Contributing\n\nIn lieu of a formal styleguide, take care to maintain the existing coding\nstyle. Add unit tests for any new or changed functionality. Lint and test\nyour code using Grunt.\n\n## Release History\n\n * 2018-05-14   v3.1.0   Allow cutting the same initial part of the path from tested HTML files for displaying purposes\n * 2018-04-27   v3.0.0   Dropped support of Node.js 4\n * 2018-03-05   v2.2.0   Upgrade to the reporter v2.2.0, allow generating\n                         page titles from file names without directory\n * 2018-03-04   v2.1.0   Upgrade to the reporter v2.1.0\n * 2018-03-01   v2.0.1   Upgrade to the reporter v2.0.2\n * 2018-02-19   v2.0.0   Upgrade to the reporter v2.0.0\n * 2018-02-19   v1.0.0   Upgrade to the reporter v1.0.0\n * 2017-11-25   v0.0.5   Fix appending the HTML extension to the target report file\n * 2017-11-25   v0.0.4   Upgrade the reporter dependency to support Node.js \u003c 7\n * 2017-11-25   v0.0.1   Initial release\n\n## License\n\nCopyright (c) 2017-2019 Ferdinand Prantl\n\nLicensed under the MIT license.\n\n[node]: https://nodejs.org\n[npm]: https://npmjs.org\n[package.json]: https://docs.npmjs.com/files/package.json\n[Grunt]: https://gruntjs.com\n[Gruntfile]: https://gruntjs.com/sample-gruntfile\n[Getting Gtarted]: https://github.com/gruntjs/grunt/wiki/Getting-started\n[grunt-accessibility]: https://github.com/yargalot/grunt-accessibility\n[grunt-accessibility-html-reporter]: https://github.com/prantlf/grunt-accessibility-html-reporter\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fgrunt-accessibility-html-report-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprantlf%2Fgrunt-accessibility-html-report-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fgrunt-accessibility-html-report-converter/lists"}