Find a course

Module 5: Review, Accessibility and MaintenanceLesson 13 of 1312 min

Accessible and Maintainable Docs

Make documentation accessible with alt text, link text and headings, then keep it accurate using docs-as-code, ownership, reviews and user feedback.

Step 1 of 13Learn

Accessibility is part of clarity

Many documentation readers use assistive technology: screen readers that read text aloud, screen magnifiers, voice control or keyboard-only navigation. Others read on small phone screens, in bright sunlight or with temporary limitations like a broken wrist. Accessible documentation works for all of them, and it is usually clearer for everyone else too.

Key practices, many drawn from the Web Content Accessibility Guidelines (WCAG):

  • Use real headings in order, so screen reader users can jump through the page by heading.
  • Write descriptive link text. "See the installation guide" instead of "click here". Screen reader users often browse a list of links out of context, and twenty links all called "here" are useless.
  • Provide alt text for meaningful images, and mark purely decorative images so screen readers skip them.
  • Don't rely on color alone. "Click the green button" fails for color-blind readers; "Click Start" works for everyone.
  • Avoid directional instructions that depend on layout, like "the button on the right", which may not hold on mobile or with magnification. Use labels.
  • Make tables simple, with header rows and no merged cells.
  • Caption or transcribe videos.

Step 2 of 13Practice · Diagram

Who accessible docs serve

Tap each reader to see the practice that helps them.

A page has twenty links all labeled "here". Tap the readers it fails most.

Tap the shape that answers the question, then press Check.

Who accessible docs serveParts diagram: Accessible documentation, Screen reader users, Magnifier users, Color-blind readers, Keyboard and voice users, Phone readers in sunlight, Deaf and hard-of-hearing.AccessibledocumentationScreen readerusersMagnifierusersColor-blindreadersKeyboard andvoice usersPhone readersin sunlightDeaf andhard-of-hearing
Accessible documentation
Screen reader users

Real headings in order, descriptive link text, alt text.

Magnifier users

Labels instead of "the button on the right".

Color-blind readers

"Click Start", not "click the green button".

Keyboard and voice users

Name controls by their visible labels.

Phone readers in sunlight

Simple tables, short paragraphs.

Deaf and hard-of-hearing

Captions and transcripts for video.

Step 3 of 13Practice · Spot the mistake

Tap the three accessibility problems in this help text.

Step 4 of 13Learn

Writing alt text

Alt text (alternative text) describes an image for people who can't see it. Screen readers read it aloud, and browsers display it when the image fails to load.

Good alt text conveys the image's purpose in context, not every visual detail:

  • A screenshot showing where a setting is: "The Privacy settings page with the 'Share usage data' toggle turned off."
  • An icon used as a button: describe the action, not the picture. "Search", not "Magnifying glass."
  • A chart: give the key takeaway. "Bar chart: response times fell from 800 ms to 200 ms after the update." Put full data in a table or the text if readers need it.
  • A purely decorative image: use empty alt text so screen readers skip it.

Common mistakes:

  • Starting with "Image of..." or "Picture of...": screen readers already announce that it's an image.
  • Writing alt text that is too long. Aim for a sentence or two; complex diagrams need a longer description in the page itself.
  • Using the file name, like "screenshot_final_v2.png".
  • Putting essential instructions only in an image, with no text equivalent.

Step 5 of 13Practice · Choose one

Which is the best alt text for a magnifying-glass icon that opens the search box?

Step 6 of 13Learn

Docs-as-code

Documentation goes stale the moment the product changes and the docs don't. Studies of developer surveys consistently rank outdated or missing documentation among developers' top frustrations.

Many software teams fight this with docs-as-code: treating documentation like source code.

  • Docs are written in plain-text formats such as Markdown or reStructuredText.
  • They live in version control (usually Git), often in the same repository as the code.
  • Changes go through pull requests and review, just like code.
  • Automated checks run on every change: broken links, spelling, style linters, and tests that run code samples.
  • A static site generator builds and publishes the docs automatically.

The biggest advantage is that documentation changes can ship together with the code changes they describe. A team can require that any pull request changing user-visible behavior also updates the docs, so the two never drift apart.

Docs-as-code isn't the only approach. Many organizations use help authoring tools or content management systems, especially for non-software products. The underlying principles are the same: versioned content, review before publishing and checks that catch problems early.

Step 7 of 13Practice · Diagram

The docs-as-code loop

Tap each step.

Tap the step that catches a broken link before readers do.

Tap the shape that answers the question, then press Check.

The docs-as-code loopCycle diagram: Write in Markdown → Pull request → Review → Automated checks → Build and publish → Reader feedback.Docs ship with codeWrite inMarkdownPull requestReviewAutomatedchecksBuild and publishReaderfeedback
Write in Markdown

Plain text, next to the code.

Pull request

Docs change in the same PR as the feature.

Review

Technical and editorial reviewers comment on the diff.

Automated checks

Links, spelling, style linters, sample tests.

Build and publish

A static site generator deploys automatically.

Reader feedback

Search logs and comments start the next change.

Step 8 of 13Practice · Sort into groups

Sort these practices into those that help keep docs accurate and those that let them drift.

Tap an item, then tap its group (or drag it there).

Step 9 of 13Tap to reveal

Habits that keep documentation healthy

  1. Single sourcing

    Write a piece of content once and reuse it, rather than copying it. When an instruction lives in one place, one fix updates every page that includes it.

  2. Ownership

    Every page or section has a named owner responsible for its accuracy. Unowned pages decay first.

  3. Scheduled reviews

    Review key pages on a regular cycle, for example quarterly, and record a "last reviewed" date so readers and writers can see freshness.

  4. Reader feedback

    A simple "Was this page helpful?" control, search logs and support tickets show where readers struggle. Search terms with no results reveal missing content.

  5. Pruning

    Delete or archive pages for features that no longer exist. Outdated pages that still appear in search results do active harm.

Step 10 of 13Chart

Accuracy drift without maintenance (illustrative)

Each release changes some behavior. Without docs updated in the same change, the share of accurate pages slides release after release.

Accuracy drift without maintenance (illustrative)Line chart with 6 categories: v1.0: Docs updated with each change 100%, Docs updated "later" 100%; v1.1: Docs updated with each change 99%, Docs updated "later" 94%; v1.2: Docs updated with each change 99%, Docs updated "later" 88%; v1.3: Docs updated with each change 98%, Docs updated "later" 81%; v2.0: Docs updated with each change 98%, Docs updated "later" 66%; v2.1: Docs updated with each change 98%, Docs updated "later" 60%.50%60%70%80%90%100%Pages still accuratev1.0v1.1v1.2v1.3v2.0v2.1
Illustrative numbers to show the trend, not survey data.
Accuracy drift without maintenance (illustrative)
ItemDocs updated with each changeDocs updated "later"
v1.0100%100%
v1.199%94%
v1.299%88%
v1.398%81%
v2.098%66%
v2.198%60%

Step 11 of 13Note

Step 12 of 13Practice · True or false

Copying the same installation steps into several pages is a good way to make sure readers always find them.

Step 13 of 13Practice · What would you do?

What would you do?

Your help center's search logs show that "change billing email" is a frequent search with zero results, and support gets many tickets about it. The feature exists in Settings. What should you do first?