For Contributors
Contributors are people who contribute to OSS (Open Source Software) projects.
Empowering contributors with disabilities to contribute to your project
There are several ways you can show contributors with disabilities, both current and potential, that they are welcome.
Include a welcoming statement in your contributing file
Creating a contributing file for your repository is a great way to let people know how they can contribute to your project. There are several common places to put a contributing
file (the project root, in a folder like docs
or .github
). We prefer putting it in the project root as it's easier for people to find.
In your contributing
file, you should clearly state that contributors with disabilities are welcome. You should also invite them to contact the project team if they need an accommodation to be able to contribute. A good place to put contact details relating to accessibility is in the accessibility.md
file in the root of your repo.
Consider adapting the Contributor Covenant code of conduct for open source communities. This document clearly lays out expectations for anyone contributing to your project.
Ensure the project documentation is accessible
It's essential that your project's documentation is accessible. This includes:
- Using semantically-correct headings to mark up chunks of content.
- Ensuring each image has a suitable
alt
attribute. You can use Github's alt text bot to help with this. - Not relying on complex images to describe the application; that information should also be described in well-marked-up HTML in the main body of your content.
- Not using screen grabs of tables.
- If you use videos, ensure they have captions. If your videos are of the kind that has some music playing in the background as someone silently demonstrates how to do something, that information needs to be available, in well-marked-up HTML, on the same page as the video.
- If you provide users with a template to complete when reporting an issue, ensure that is well marked up.
Consider adding an accessibility.md
file to the root of your repo. This is where you can list specifics about the accessibility of your project.
Add an accessibility.md file
An accessibility.md
file should include the following information:
- If you are aiming towards an accessibility standard, for example: WCAG 2.2 Levels A and AA, what that standard is.
- How to report accessibility bugs. For example:
- do you want Github issues to mention accessibility in the issue title?
- alternate ways to contact a person on the project
- How you prioritize accessibility bugs
- Ways for people to see what accessibility issues are open and closed. For example: do you have a label for accessibility issues?
- How you test for accessibility. For example:
- which screen readers do you test with?
- do you test with Windows high-contrast mode?
- do you test for keyboard accessibility?
- The date that the document was last updated