Skip to content

Commit 152ec62

Browse files
authored
Merge branch 'main' into kh-add-discussion-support
2 parents 1ba8492 + 81a448e commit 152ec62

File tree

5 files changed

+1310
-17
lines changed

5 files changed

+1310
-17
lines changed

.all-contributorsrc

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"projectName": "accessibility-alt-text-bot",
3+
"projectOwner": "kendallgassner",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": [
7+
"README.md"
8+
],
9+
"imageSize": 100,
10+
"commit": true,
11+
"commitConvention": "none",
12+
"contributors": [
13+
{
14+
"login": "inkblotty",
15+
"name": "Katie Foster",
16+
"avatar_url": "https://avatars.githubusercontent.com/u/14206003?v=4",
17+
"profile": "https://github.com/inkblotty",
18+
"contributions": [
19+
"ideas",
20+
"a11y"
21+
]
22+
},
23+
{
24+
"login": "kendallgassner",
25+
"name": "Kendall Gassner",
26+
"avatar_url": "https://avatars.githubusercontent.com/u/15275462?v=4",
27+
"profile": "https://github.com/kendallgassner",
28+
"contributions": [
29+
"code",
30+
"a11y",
31+
"doc",
32+
"infra"
33+
]
34+
},
35+
{
36+
"login": "khiga8",
37+
"name": "Kate Higa",
38+
"avatar_url": "https://avatars.githubusercontent.com/u/16447748?v=4",
39+
"profile": "https://github.com/khiga8",
40+
"contributions": [
41+
"code",
42+
"a11y",
43+
"doc",
44+
"infra"
45+
]
46+
}
47+
],
48+
"contributorsPerLine": 7,
49+
"linkToUsage": false
50+
}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.DS_Store
2-
.env
2+
.env
3+
/node_modules

README.md

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
# Accessibility-alt-text-bot
22

3-
An action to remind users to add alt text to their issue descriptions and comments.
3+
This action supports accessible content sharing on GitHub by leaving an automated reminder whenever an image is shared on a GitHub Issue or Pull request without meaningful alternative text (alt text).
4+
Alternative text helps convey the context of the image to those who use assistive technologies such as a screen reader and removes accessibility barriers.
5+
6+
For guidance on setting alternative text, see [Alternative text for images on Primer](https://primer.style/design/guides/accessibility/alternative-text-for-images).
7+
8+
Images on GitHub default to using the filename as alt text. This action flags when the alt text has not been updated from the default:
9+
10+
<img 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">
11+
12+
**Note**: Ordinarily, setting `alt=""` will mark images as decorative. However, GitHub currently renders all images as a link. To avoid rendering links with no names, we recommend always setting alt text on images in GitHub.
413

514
## How to add this action to your repo
615

716
Copy this workflow into any repo you want the accessibility-alt-text-bot to run in.
817

9-
```
18+
```yml
1019
name: Accessibility-alt-text-bot
1120
on:
1221
issues:
@@ -28,22 +37,21 @@ jobs:
2837
uses: github/accessibility-alt-text-bot
2938
```
3039
31-
## Action stability
40+
### Action stability
3241
3342
To ensure you stay on a stable version of this action consider locking the action to a specific version.
3443
35-
```
44+
```yml
3645
uses: github/[email protected]
37-
```
46+
```
3847
3948
Replace the ref value with any commit hash.
4049
41-
## License
50+
## License
4251
4352
This project is licensed under the terms of the MIT open source license. Please refer to [MIT](./LICENSE.txt) for the full terms.
4453
45-
46-
## Maintainers
54+
## Maintainers
4755
4856
See [CODEOWNERS](.github/CODEOWNERS).
4957
@@ -54,3 +62,27 @@ TODO: Be explicit about support expectations.
5462
## Acknowledgement
5563
5664
Please read [Contributing Guide](./CONTRIBUTING.md) for more information.
65+
66+
## Contributors ✨
67+
68+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
69+
70+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
71+
<!-- prettier-ignore-start -->
72+
<!-- markdownlint-disable -->
73+
<table>
74+
<tbody>
75+
<tr>
76+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/inkblotty"><img src="https://avatars.githubusercontent.com/u/14206003?v=4?s=100" width="100px;" alt="Katie Foster"/><br /><sub><b>Katie Foster</b></sub></a><br /><a href="#ideas-inkblotty" title="Ideas, Planning, & Feedback">🤔</a> <a href="#a11y-inkblotty" title="Accessibility">️️️️♿️</a></td>
77+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/kendallgassner"><img src="https://avatars.githubusercontent.com/u/15275462?v=4?s=100" width="100px;" alt="Kendall Gassner"/><br /><sub><b>Kendall Gassner</b></sub></a><br /><a href="https://github.com/kendallgassner/accessibility-alt-text-bot/commits?author=kendallgassner" title="Code">💻</a> <a href="#a11y-kendallgassner" title="Accessibility">️️️️♿️</a> <a href="https://github.com/kendallgassner/accessibility-alt-text-bot/commits?author=kendallgassner" title="Documentation">📖</a> <a href="#infra-kendallgassner" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
78+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/khiga8"><img src="https://avatars.githubusercontent.com/u/16447748?v=4?s=100" width="100px;" alt="Kate Higa"/><br /><sub><b>Kate Higa</b></sub></a><br /><a href="https://github.com/kendallgassner/accessibility-alt-text-bot/commits?author=khiga8" title="Code">💻</a> <a href="#a11y-khiga8" title="Accessibility">️️️️♿️</a> <a href="https://github.com/kendallgassner/accessibility-alt-text-bot/commits?author=khiga8" title="Documentation">📖</a> <a href="#infra-khiga8" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
79+
</tr>
80+
</tbody>
81+
</table>
82+
83+
<!-- markdownlint-restore -->
84+
<!-- prettier-ignore-end -->
85+
86+
<!-- ALL-CONTRIBUTORS-LIST:END -->
87+
88+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

0 commit comments

Comments
 (0)