Accessible Documentation

Covered in this guide#

Sources#

This guide was written based on

It was written by Isabela Presedo-Floyd at Quansight Labs.

What is accessible documentation?#

If you’ve made it to this guide in the first place, accessibility may be familiar to you already. Ultimately, the goal is to build an equitable world for disabled and able people; for documentation, this starts by making sure that disabled people can benefit from your documentation the same ways that abled people can whether they are blind or visually impaired, have limited mobility, are deaf or hard of hearing, or have mental disabilities.

This is a wide net to cast. Not only is there a breadth of experience and acommodations needed for all disabilities, the things that help one disabled person are often the exact things that would be impossible to use for another. So how in the world is accessible documentation even possible?

When in doubt:

Know your strengths#

As a documentation author, it’s important to understand what is in your control and how you can make the most of it. This guide addresses only what is in control of documentation authors.

Authors make Authors don’t make
✅ Documentation text ❌ Website theme
✅ Images ❌ The software being documented
✅ Videos ❌ Website dependencies
✅ Demos of other kinds ❌ The software used to access documentation
✅ Resource files for downloading ❌ External links
✅ Community support events

Note: Lots of people who write documentation do a lot of other things for the project as well. Because this guide cannot cover all possible accessibility efforts related to documentation at once, it only covers tasks related to this definition of documentation author.

The things authors can control are the things it is important to take responsibility for. The things authors cannot control are worthy targets for advocating that those who can change them make those changes with accessibility considerations.

Recommendations by type#

Documentation structure#

Orienting oneself in the documentation is key to getting questions answered, discovering what options are available, or just plain knowing where to go next. Without intentional structure, any task on a documentation site gains extra obstacles.

The most important parts of documentation structure are to be consistent and to use the structural elements you have available to you as intended. Even if there are other issues, users have the best luck finding workarounds with consistent structure and predictable page elements.

Some more specific ways to do this are

Text#

Writing accessible documentation text includes all the usual text writing considerations. Begin by following your project’s style guide and update it to include the following as needed.

Images#

Contrary to text, images can be some of the least flexible types of media for people to interact with. At the same time, for people who can view them, images can be some of the most useful tools in explaining information, providing examples, and offering a quick reference.

There are two groups of accessibility considerations relevant to making images: considerations within the image and considerations surrounding the image.

Within the image, or the choices one faces when designing and making the image, authors have to consider the many different ways someone can see. Consider the following:

Surrounding the image, or the choices one faces once the images appears in context, authors have to consider what happens if the image is not available.

In general do not use images to replace text information, use them to augment it.

Videos#

Introduce videos and their relevance to the surrounding documentation directly before they appear.

Videos in documentation should not autoplay. They need a play button and a pause/stop button.

Videos with sound benefit from volume controls. Since this may be managed by the user outside the website, it is less critical.

Ideally, all videos with voices have closed captioning (text overlaid on the video player in time with speaking) and a transcript (text in paragraphs not timed to the video) linked. If this information is already in paragraphs surrounding the video, these may not be needed.

Videos cannot have flashing lights/colors at more than three times per second. This risks triggering seizures. Do not allow this in your documentation.

Videos are a good addition to documentation that can be very helpful for anyone wanting to see the software in action, but they are best used as additional documentation features. A good way to test that you’ve covered the same information elsewhere in the documentation is to break the link to the video and ensure that no information is missing.

For things documentation authors don’t make#

While it is important to recognize what accessibility considerations are directly in the hands of those writing documentation, that doesn’t mean that a documentation author’s power has to end there. Even without taking on other documentation team roles, authors can impact choices and give feedback on the projects they work on.

Select for accessibility. Whether making documentation from scratch or writing for existing documentation, choices will always have to be made. Authors can select options to those choices that have accessibility in mind. Examples include

Advocate for change. In many cases, accessiblity-related changes cannot be made by one person or require multiple people’s expertise. These situations benefit from advocacy, where an author can use the accessibility awareness they have to encourage others to make changes with them. Examples include

Edit what you have. Sometimes authors do have the option to make a direct change to an aspect of the documentation outside of its contents. When these changes are possible, they are often worth pursuing as long as the whole team is on board, though keeping in mind necessary maintenance must be done. Examples include

Checklist#

Further resources#

On this page