{"id":14986026,"url":"https://github.com/github/accessibility-alt-text-bot","last_synced_at":"2026-03-10T21:04:02.803Z","repository":{"id":158097258,"uuid":"632088451","full_name":"github/accessibility-alt-text-bot","owner":"github","description":"An action to remind users to add alt text on Issues, Pull Requests, and Discussions","archived":false,"fork":false,"pushed_at":"2026-02-20T03:42:57.000Z","size":21578,"stargazers_count":90,"open_issues_count":4,"forks_count":16,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-03-06T08:45:40.833Z","etag":null,"topics":["accessibility","actions"],"latest_commit_sha":null,"homepage":"","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/github.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-04-24T17:26:02.000Z","updated_at":"2026-02-20T03:43:01.000Z","dependencies_parsed_at":"2023-12-22T17:21:59.476Z","dependency_job_id":"2ef5ee15-37e3-480b-b4c5-f63a4a081cba","html_url":"https://github.com/github/accessibility-alt-text-bot","commit_stats":{"total_commits":50,"total_committers":6,"mean_commits":8.333333333333334,"dds":0.5,"last_synced_commit":"2a6cbbbd7f6a82d22b6747ca2338152cd6041d89"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/github/accessibility-alt-text-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Faccessibility-alt-text-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Faccessibility-alt-text-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Faccessibility-alt-text-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Faccessibility-alt-text-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/accessibility-alt-text-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Faccessibility-alt-text-bot/sbom","scorecard":{"id":428137,"data":{"date":"2025-08-11","repo":{"name":"github.com/github/accessibility-alt-text-bot","commit":"78632f668433a6612737982e219e9558b01ab013"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":8.1,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","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":"Maintained","score":10,"reason":"18 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","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":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/ci.yml:19","Info: topLevel 'contents' permission set to 'read': .github/workflows/test-accessibility-alt-text-bot.yml:23","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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt: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":8,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'main'","Warn: required approving review count is 1 on branch 'main'","Info: codeowner review is required on branch 'main'","Info: status check found to merge onto on branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"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":"Binary-Artifacts","score":8,"reason":"binaries present in source code","details":["Warn: binary detected: node_modules/@unrs/resolver-binding-linux-x64-gnu/resolver.linux-x64-gnu.node:1","Warn: binary detected: node_modules/@unrs/resolver-binding-linux-x64-musl/resolver.linux-x64-musl.node:1"],"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":"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/ci.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/github/accessibility-alt-text-bot/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-accessibility-alt-text-bot.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/github/accessibility-alt-text-bot/test-accessibility-alt-text-bot.yml/main?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":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (30) 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":"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"}}]},"last_synced_at":"2025-08-19T02:42:03.007Z","repository_id":158097258,"created_at":"2025-08-19T02:42:03.007Z","updated_at":"2025-08-19T02:42:03.007Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30355223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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","actions"],"created_at":"2024-09-24T14:12:09.502Z","updated_at":"2026-03-10T21:04:02.760Z","avatar_url":"https://github.com/github.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Accessibility-alt-text-bot\n\nThis action reminds users to add a meaningful alternative text to their images.\nAlternative text helps users who rely on tools like screen readers, and lowers accessibility barriers.\n\nThe action can check:\n\n- Issue comments\n- Issue descriptions\n- Pull Request comments\n- Pull Request descriptions\n- Discussion comments\n- Discussion descriptions\n\nTo learn how to write good alternative text, read [Alternative text for images on Primer](https://primer.style/design/guides/accessibility/alternative-text-for-images).\n\n## Why you may need this action\n\nImages on GitHub default to using the filename as alt text.\nThis action flags when the alt text has not been updated from the default:\n\n\u003cimg width=\"758\" alt=\"Screenshot of an automated actions comment on a GitHub issue that says, 'Uh oh! @monalisa, the image you shared is missing helpful alt text...' and contains instructions for setting alt text\" src=\"https://github.com/github/accessibility-alt-text-bot/assets/16447748/c61cc9c6-f8c8-4bfb-becb-a155c2c9711d\"\u003e\n\n\u003e [!TIP]\n\u003e Normally, setting `alt=\"\"` marks images as decorative. But GitHub renders all images as a link. To avoid rendering links with no names, we recommend always setting alt text on images in GitHub.\n\n## How to add this action to your repo\n\nCopy this workflow into any repo you want the `accessibility-alt-text-bot` to run in:\n\n```yml\nname: Accessibility-alt-text-bot\non: \n  issues:\n    types: [opened, edited]\n  pull_request:\n    types: [opened, edited]\n  issue_comment:\n    types: [created, edited, deleted]\n  discussion:\n    types: [created, edited]\n  discussion_comment:\n    types: [created, edited, deleted]\n\npermissions:\n  issues: write\n  pull-requests: write\n  discussions: write\n  \njobs:\n  accessibility_alt_text_bot:\n    name: Check alt text is set on issue or pull requests\n    if: ${{ !endsWith(github.actor, '[bot]') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get action 'github/accessibility-alt-text-bot'\n        uses: github/accessibility-alt-text-bot@v1.7.1 # Set to latest\n```\n\n### Pin the action's version for stability\n\nWe recommend you pin the action to a specific version.\nThis makes sure you stay on a stable version of this action.\n\n```yml\n       uses: github/accessibility-alt-text-bot@v1.7.1\n```\n\nReplace the ref value with any commit hash.\n\n### Experimental: Adding a custom linting configuration\n\nIf you would like to include more linting rules from the [markdownlint](https://github.com/DavidAnson/markdownlint) or [markdownlint-github](https://github.com/github/markdownlint-github) rulesets, pass a `config` object to the `github/accessibility-alt-text-bot` action.\n\n\n ⚠ Consider adding new rules sparingly, as excessive rules could make the bot too noisy and overwhelm users. \n\n ⚠ This feature is experimental and may be removed in the future. We acknowledge that some repositories may want to implement more accessibility checks and aim to evaluate how users this feature before making it generally available.\n\n```yml\n    steps:\n      - name: Check alt text\n        uses: github/accessibility-alt-text-bot@v1.7.1\n        with:\n          config: |\n            no-default-alt-text: true,\n            no-alt-text: true,\n            no-empty-alt-text: true,\n            no-generic-link-text: true,\n```\n\n## License\n\nThis project is licensed under the terms of the MIT open source license.\nPlease read [the MIT license file](./LICENSE.txt) for the full terms.\n\n## Maintainers\n\nSee [CODEOWNERS](.github/CODEOWNERS).\n\n## Support\n\nTODO: Be explicit about support expectations.\n\n## Acknowledgement\n\nPlease read our [Contributing Guide](./CONTRIBUTING.md) for more information.\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/inkblotty\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/14206003?v=4?s=100\" width=\"100px;\" alt=\"Katie Foster\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eKatie Foster\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#ideas-inkblotty\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e \u003ca href=\"#a11y-inkblotty\" title=\"Accessibility\"\u003e️️️️♿️\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/kendallgassner\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/15275462?v=4?s=100\" width=\"100px;\" alt=\"Kendall Gassner\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eKendall Gassner\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/kendallgassner/accessibility-alt-text-bot/commits?author=kendallgassner\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#a11y-kendallgassner\" title=\"Accessibility\"\u003e️️️️♿️\u003c/a\u003e \u003ca href=\"https://github.com/kendallgassner/accessibility-alt-text-bot/commits?author=kendallgassner\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"#infra-kendallgassner\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/khiga8\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/16447748?v=4?s=100\" width=\"100px;\" alt=\"Kate Higa\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eKate Higa\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/kendallgassner/accessibility-alt-text-bot/commits?author=khiga8\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#a11y-khiga8\" title=\"Accessibility\"\u003e️️️️♿️\u003c/a\u003e \u003ca href=\"https://github.com/kendallgassner/accessibility-alt-text-bot/commits?author=khiga8\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"#infra-khiga8\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/HonkingGoose\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/34918129?v=4?s=100\" width=\"100px;\" alt=\"HonkingGoose\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eHonkingGoose\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/kendallgassner/accessibility-alt-text-bot/commits?author=HonkingGoose\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/JoshuaKGoldberg\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/3335181?v=4?s=100\" width=\"100px;\" alt=\"JoshuaKGoldberg\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJoshuaKGoldberg\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/kendallgassner/accessibility-alt-text-bot/commits?author=JoshuaKGoldberg\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification.\nContributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Faccessibility-alt-text-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub%2Faccessibility-alt-text-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Faccessibility-alt-text-bot/lists"}