{"id":24152288,"url":"https://github.com/nfreear/gaad-widget","last_synced_at":"2025-09-29T08:59:45.846Z","repository":{"id":40477449,"uuid":"91203647","full_name":"nfreear/gaad-widget","owner":"nfreear","description":"Display a banner-link to promote Global Accessibility Awareness Day (GAAD) —","archived":false,"fork":false,"pushed_at":"2023-03-01T08:48:37.000Z","size":947,"stargazers_count":1,"open_issues_count":14,"forks_count":2,"subscribers_count":3,"default_branch":"3.x","last_synced_at":"2025-09-19T20:03:55.160Z","etag":null,"topics":["accessibility","banner","datejs","disability","gaad","javascript","ndf-js","npm-package","pa11y","widget"],"latest_commit_sha":null,"homepage":"https://globalaccessibilityawarenessday.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nfreear.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-13T21:25:09.000Z","updated_at":"2022-05-05T19:15:36.000Z","dependencies_parsed_at":"2023-02-08T07:45:38.158Z","dependency_job_id":null,"html_url":"https://github.com/nfreear/gaad-widget","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/nfreear/gaad-widget","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfreear%2Fgaad-widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfreear%2Fgaad-widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfreear%2Fgaad-widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfreear%2Fgaad-widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nfreear","download_url":"https://codeload.github.com/nfreear/gaad-widget/tar.gz/refs/heads/3.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfreear%2Fgaad-widget/sbom","scorecard":{"id":682676,"data":{"date":"2025-08-11","repo":{"name":"github.com/nfreear/gaad-widget","commit":"0b179663e83a5421196beff850c53364589ee16f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/21 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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/node.js.yml:1","Info: no jobLevel write permissions found"],"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":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/nfreear/gaad-widget/node.js.yml/3.x?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/nfreear/gaad-widget/node.js.yml/3.x?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"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":"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":"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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 '3.x'"],"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 9 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":"18 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","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-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"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-21T23:41:47.463Z","repository_id":40477449,"created_at":"2025-08-21T23:41:47.463Z","updated_at":"2025-08-21T23:41:47.463Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277489035,"owners_count":25826633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-29T02:00:09.175Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","banner","datejs","disability","gaad","javascript","ndf-js","npm-package","pa11y","widget"],"created_at":"2025-01-12T10:15:38.637Z","updated_at":"2025-09-29T08:59:45.816Z","avatar_url":"https://github.com/nfreear.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Node.js CI][ci-img]][ci]\n\u003c!-- [![Build status — Travis-CI][travis-icon]][travis] --\u003e\n[![GitLab pipeline status][gitlab-icon]][gitlab]\n[![js-semistandard-style][semi-icon]][semi]\n[![GAAD-widget - on Npmjs][npm-icon]][npm]\n[![License][license-icon]][mit]\n[![Total downloads - on NPMJS][downl-icon]][npm]\n[![Size of Javascript][size-icon]][build]\n[![Vulnerability test][snyk-icon]][snyk]\n[![Accessibility test - GAAD passes][pa11y-icon]][pa11y-ci]\n[![gaad-widget - on UNPKG][unpkg-icon]][browse]\n\u003c!--[![Browserify][built-icon]][gh]--\u003e\n\n\n# gaad-widget\n\nDisplay a banner-link to promote [Global Accessibility Awareness Day (GAAD)][gaad].\nThe banner displays for a configurable period before and after the day,\nand the emphasis is on easy site-integration, via a [CDN][unpkg].\n\n[![Global Accessibility Awareness Day][gaad-img-after]][gaad]\n\n\u003e Join us on Thursday, May 16 2019 and mark the eighth Global Accessibility Awareness Day (GAAD).\n\u003e The purpose of GAAD is to get everyone talking, thinking and learning about digital\n\u003e (web, software, mobile, etc.) access/inclusion and people with different disabilities.\n\nRead the [blog post][blog]. Built on [Datejs][] ([API][datejs-api]).\n\n_Note ~ this is not an official widget!_\n\n[Original Gist][gist].\n\n## Release notes\n### Features\n\n * See the [CHANGELOG][].\n * Download on the [releases page][rel]. (Also, see the [wishlist][].)\n\n## Install and test\n\n```sh\nnpm i gaad-widget\nnpm run build\nnpm test\n```\n\n## Usage\n\nVia [unpkg][] — [browse][] — production CDN:\n\n```html\n\u003cdiv id=\"id-gaad-widget\"\u003e\u003c/div\u003e\n\n\u003cscript src=\"https://unpkg.com/gaad-widget@^3#\"\u003e\u003c/script\u003e\n```\n\nLocal hosting:\n\n```html\n\u003cdiv id=\"id-gaad-widget\"\u003e\u003c/div\u003e\n\n\u003cscript src=\"dist/gaad-widget.js\" \u003e\u003c/script\u003e\n```\n\nSee the list of [default configuration options][cfg].\n\nSetting the `days_before` option:\n\n```html\n\u003cdiv id=\"id-gaad-widget\"\u003e\u003c/div\u003e\n\n\u003cscript src=\"dist/gaad-widget.js\" data-gaad-widget='{ \"days_before\": 20 }'\u003e\u003c/script\u003e\n```\n\nSetting several configuration options:\n\n```html\n\u003cdiv id=\"custom_id\"\u003e\u003c/div\u003e\n\n\u003cscript\n  src=\"dist/gaad-widget.js\"\n  data-gaad-widget='{ \"id\": \"custom_id\", \"days_after\": 10, \"theme\": \"black\", \"debug\": true }'\n  \u003e\u003c/script\u003e\n```\n\n## Analytics\n\nAnonymous usage statistics via Google Analytics is being added for version `3.2+` (`\u003e 3.1.0`). It will be [enabled][analytics] by default, and can be disabled thus:\n\n```html\n\u003cdiv id=\"id-gaad-widget\"\u003e\u003c/div\u003e\n\n\u003cscript src=\"dist/gaad-widget.js\" data-gaad-widget='{ \"analytics\": null }'\u003e\u003c/script\u003e\n```\n\n## Translation\n\nPlease help with translating `gaad-widget` into your language!\n\n * [Translation information ~ #4][i18n]\n * [Current translations][i18n-code].\n\nFrançais (French):\n\n```html\n\u003cdiv id=\"id-gaad-widget\"\u003e\u003c/div\u003e\n\n\u003cscript src=\"dist/gaad-widget.js\" data-gaad-widget='{ \"lang\": \"fr\" }' \u003e\u003c/script\u003e\n```\n\n## WordPress\n\nA [plugin for WordPress][wp].\n\n## License\n\nLicense: [MIT][].\n\nTwitter: [@nfreear][], [@gbla11yday][].\n\n_See the related [isad-widget][]._\n\n\n[blog]: https://nick.freear.org.uk/2017/05/14/gaad-widget.html?utm_source=readme\n[GAAD]: https://globalaccessibilityawarenessday.org/?utm_source=github\u0026utm_campaign=gaad-widget\n[@gbla11yday]: https://twitter.com/gbla11yday\n[@nfreear]: https://twitter.com/nfreear\n[@srinivasu..]: http://srinivasu.org \"Suggested by @srinivasuchakravarthula\"\n[gaad-widget]: https://github.com/nfreear/gaad-widget\n[gaad-img-after]: https://github.com/nfreear/gaad-widget/raw/3.x/style/gaad-widget-after.png\n[gaad-image]: https://github.com/nfreear/gaad-widget/raw/3.x/style/gaad-widget.png\n[changelog]: https://github.com/nfreear/gaad-widget/blob/3.x/CHANGELOG.md\n[rel]: https://github.com/nfreear/gaad-widget/releases \"Release notes / changelog\"\n[wishlist]: https://github.com/nfreear/gaad-widget/issues/2#!-Wishlist \"Bug #2, Wishlist\"\n[i18n]: https://github.com/nfreear/gaad-widget/issues/4#!-i18n \"Bug #4, Translations (v 2.x)\"\n[i18n-code]: https://github.com/nfreear/gaad-widget/tree/3.x/locales \"Translations, JSON format\"\n[b/a]: https://github.com/nfreear/gaad-widget/issues/5 \"Bug #5, Separate before and after messages (v 2.x)\"\n[ie]: https://github.com/nfreear/gaad-widget/issues/3#!-MSIE-9-11 \"Bug #3, Browser compatibility\"\n[cfg]: https://github.com/nfreear/gaad-widget/blob/3.x/src/configure.js#L16-L47\n    \"Default configuration options\"\n[analytics]: https://github.com/nfreear/gaad-widget/blob/3.x/src/configure.js#L36-L40\n    \"Analytics configuration, JS code\"\n[gist]: https://gist.github.com/nfreear/eef4be96147cb5c1182cbc9e595f2833 \"Original Gist, 27 April 2017\"\n[wp]: https://gist.github.com/nfreear/e5520adbb930e537ef5fe2e0aab231d1 \"WordPress plugin (PHP)\"\n[Datejs]: https://npmjs.com/package/datejs \"Thanks: @abritinthebay\"\n[Datejs-api]: https://github.com/datejs/Datejs#example-usage \"API only (legacy code-base)\"\n[RawGit]: https://rawgit.com/\n    \"RawGit serves Git files with the correct mime-type; a content delivery network (CDN)\"\n[unpkg]: https://unpkg.com/ \"unpkg is a fast content delivery network (CDN) for everything on npm\"\n[unpkg-icon]: https://nick.freear.org.uk/badge/unpkg.svg\n[browse]: https://unpkg.com/gaad-widget@^3/ \"Browse the most recent version on Unpkg.com\"\n[MIT]: https://nfreear.mit-license.org/2017-2019#!-gaad-widget \"MIT License | © Nick Freear, 2017-04-27, 2018\"\n[mit-txt]: https://nfreear.mit-license.org/2017-2019/license.txt \"MIT License | © Nick Freear\"\n[travis]: https://travis-ci.org/nfreear/gaad-widget\n[travis-icon]: https://api.travis-ci.org/nfreear/gaad-widget.svg\n    \"Build status – Travis-CI (NPM/eslint)\"\n[semi]: https://github.com/Flet/semistandard\n[semi-icon]: https://nick.freear.org.uk/badge/semi.svg \"Javascript coding style — semistandard\"\n[sem-i0]: https://img.shields.io/badge/code_style-semistandard-brightgreen.svg?_style=flat-square\n[npm]: https://npmjs.com/package/gaad-widget\n[npm-icon]: https://badge.fury.io/js/gaad-widget.svg\n[npm-i0]: https://img.shields.io/npm/v/gaad-widget.svg\n[license-icon]: https://nick.freear.org.uk/badge/mit.svg\n[license-i0]: https://img.shields.io/npm/l/gaad-widget.svg\n[downl-icon]: https://img.shields.io/npm/dt/gaad-widget.svg \"Count of total downloads ~NPM\"\n[size-i0]: http://img.badgesize.io/nfreear/gaad-widget/blob/3.x/dist/gaad-widget.js.svg?color=yellow\n[size-icon]: https://img.shields.io/github/size/nfreear/gaad-widget/dist/gaad-widget.js.svg\n    \"Size of built Javascript, kilo-bytes (kB) ~ on GitHub\"\n[built-icon]: https://nick.freear.org.uk/badge/browserify.svg \"Built with Browserify\"\n[built-i0]: https://img.shields.io/badge/built_with-browserify-blue.svg\n[build]: https://github.com/nfreear/gaad-widget/tree/3.x/dist\n[Browserify]: http://browserify.org/\n    \"Browserify lets you require('modules') in the browser by bundling your dependencies.\"\n[snyk]: https://snyk.io/test/npm/gaad-widget \"Vulnerability count ~ via Snyk\"\n[snyk-icon]: https://snyk.io/test/npm/gaad-widget/badge.svg\n[pa11y-ci]: https://github.com/pa11y/pa11y-ci\n    \"Automated accessibility testing - via 'pa11y-ci'\"\n[pa11y-icon]: https://nick.freear.org.uk/badge/pa11y-ci.svg\n[pa11y-i0]: https://img.shields.io/badge/accessibility-pa11y--ci-blue.svg\n[wcag-icon]: https://img.shields.io/badge/accessibility-WCAG_2.0_AAA-green.svg\n[gitlab-icon]: https://gitlab.com/nfreear/gaad-widget/badges/3.x/pipeline.svg\n[gitlab-co]: https://gitlab.com/nfreear/gaad-widget/commits/3.x\n[gitlab]: https://gitlab.com/nfreear/gaad-widget/pipelines \"GitLab pipeline status\"\n[ci-img]: https://github.com/nfreear/gaad-widget/actions/workflows/node.js.yml/badge.svg\n[ci]: https://github.com/nfreear/gaad-widget/actions/workflows/node.js.yml\n\n[isad-widget]: https://github.com/nfreear/isad-widget\n    \"banner-link for International Stuttering Awareness Day (ISAD)\"\n\n[End]: //.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfreear%2Fgaad-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnfreear%2Fgaad-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfreear%2Fgaad-widget/lists"}