{"id":24135047,"url":"https://github.com/informatix8/access-block","last_synced_at":"2025-10-17T00:38:20.444Z","repository":{"id":57118653,"uuid":"183961033","full_name":"informatix8/access-block","owner":"informatix8","description":"Full page loading screen that blocks user interactions","archived":false,"fork":false,"pushed_at":"2019-08-16T19:54:51.000Z","size":38,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-19T18:04:55.365Z","etag":null,"topics":["screen-reader","vanilla-javascript"],"latest_commit_sha":null,"homepage":"https://access-block.com/","language":"JavaScript","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/informatix8.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":"2019-04-28T21:31:29.000Z","updated_at":"2019-07-22T17:04:30.000Z","dependencies_parsed_at":"2022-08-23T09:10:47.435Z","dependency_job_id":null,"html_url":"https://github.com/informatix8/access-block","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/informatix8/access-block","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informatix8%2Faccess-block","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informatix8%2Faccess-block/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informatix8%2Faccess-block/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informatix8%2Faccess-block/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/informatix8","download_url":"https://codeload.github.com/informatix8/access-block/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informatix8%2Faccess-block/sbom","scorecard":{"id":488372,"data":{"date":"2025-08-11","repo":{"name":"github.com/informatix8/access-block","commit":"b1ca65e68763799e91e5403e948535dd783e7a08"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 0/17 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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"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":"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"}}]},"last_synced_at":"2025-08-19T18:24:51.503Z","repository_id":57118653,"created_at":"2025-08-19T18:24:51.503Z","updated_at":"2025-08-19T18:24:51.503Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278786689,"owners_count":26045588,"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-10-07T02:00:06.786Z","response_time":59,"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":["screen-reader","vanilla-javascript"],"created_at":"2025-01-12T01:19:16.638Z","updated_at":"2025-10-07T13:53:10.881Z","avatar_url":"https://github.com/informatix8.png","language":"JavaScript","readme":"# Access Block\n\nFull page loading screen that blocks user interactions.\n\nExamples and the API are in the [documentation](https://access-block.com).\n\n## Features\n- Disallows mouse scrolling, clicking, and focus movement within the body via \u003ckbd\u003eTab\u003c/kbd\u003e key while open\n- Cannot be closed by the user. It must be programmatically closed.\n- Disallows all other body content from being read with a screen reader via `aria-hidden`\n- Allows focus to escape to the browser with \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eTab\u003c/kbd\u003e\n- Uses ARIA role `alertdialog`,  `aria-describedby` and `aria-labelledby` to properly notify screen readers\n- Inline styles can be disabled\n- After dismissal, focus is returned to the last focused element or a designated element\n- Pre and post user defined functions can be called during significant events\n\n## Usage\n\n### Install\n\n```shell\nnpm install @informatix8/access-block --save-dev\n```\n\n### CDN\n\n```html\n\u003cscript src=\"https://unpkg.com/@informatix8/access-block/dist/access-block.all.umd.js\"\u003e\u003c/script\u003e\n```\n\n### Vanilla Javascript\n```javascript\nvar accessBlock = new AccessBlock({\n    overlayOpacity: 0.4,\n    title: 'Loading',\n    description: 'Please wait'\n});\n\nvar trigger = document.getElementById('trigger');\ntrigger.addEventListener('click', function () {\n    accessBlock.open();\n\n    // Example to close it\n    setTimeout(function () {\n        accessBlock.close();\n    }, 3000);\n});\n```\n\n## Example Styles\n\n```css\n.access-block-content {\n    align-items: center;\n    display: flex;\n    justify-content: center;\n}\n\n.access-block-interior {\n    display: block;\n    text-align: center;\n    width: 12.5rem;\n}\n\n.access-block-image {\n    display: block;\n    fill: #fff;\n    height: 3rem;\n    margin: 0 auto;\n    width: 3rem;\n}\n\n.access-block-title {\n    font-size: 2rem;\n}\n```\n\n## Development\n\n```shell\nnpm run dev\n```\n\n## Build\n\n```shell\nnpm run build\n```\n\n## Release\n\n```shell\nnpm run build\ngit tag -a vX.Y.Z\ngit push origin master\ngit push origin --tags\nnpm publish --access=public .\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformatix8%2Faccess-block","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finformatix8%2Faccess-block","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformatix8%2Faccess-block/lists"}