diff --git a/_articles/code-of-conduct.md b/_articles/code-of-conduct.md index 3c3d187ae79..3c9c6617b26 100644 --- a/_articles/code-of-conduct.md +++ b/_articles/code-of-conduct.md @@ -24,10 +24,10 @@ Try to establish a code of conduct as early as possible: ideally, when you first In addition to communicating your expectations, a code of conduct describes the following: -* Where the code of conduct takes effect _(only on issues and pull requests, or community activities like events?)_ -* Whom the code of conduct applies to _(community members and maintainers, but what about sponsors?)_ -* What happens if someone violates the code of conduct -* How someone can report violations +- **Where** the code of conduct takes effect _(only on issues and pull requests, or community activities like events?)_ +- **Whom** the code of conduct applies to _(community members and maintainers, but what about sponsors?)_ +- **What** happens if someone violates the code of conduct +- **How** someone can report violations Wherever you can, use prior art. The [Contributor Covenant](https://contributor-covenant.org/) is a drop-in code of conduct that is used by over 40,000 open source projects, including Kubernetes, Rails, and Swift. @@ -35,6 +35,20 @@ The [Django Code of Conduct](https://www.djangoproject.com/conduct/) and the [Ci Place a CODE_OF_CONDUCT file in your project's root directory, and make it visible to your community by linking it from your CONTRIBUTING or README file. +### Accessibility & inclusivity + +A code of conduct is only useful if people can find it, understand it, and use it without unnecessary friction. Accessibility and inclusivity should be part of how you write the policy and how you enforce it. + +As you draft or revise your code of conduct, consider the following: + +- Use plain language where possible, and avoid unnecessary legal or organizational jargon. +- Make reporting instructions easy to find in your README, CONTRIBUTING guide, community spaces, and event materials. +- Offer more than one way to report when you can, such as email, a form, or a direct message to a designated moderator. +- State whether you accept anonymous or third-party reports, and explain any limits on confidentiality. +- Account for time zones, language barriers, disability accommodations, and uneven power dynamics when setting response expectations. +- Make it explicit that disrespectful behavior related to identity, disability, accessibility needs, names, or pronouns is not acceptable. +- For live events or synchronous spaces, explain how participants can get immediate help if they feel unsafe or excluded. + ## Deciding how you'll enforce your code of conduct