agentleFS
Owl-ListenerOwl-Listener/designpowers/skills/accessible-content/SKILL.md

accessible-content

Skill249 starsChanged 6 months agoMITView on GitHub

Use when writing or structuring any user-facing content — interface copy, labels, error messages, help text, headings, alt text, link text, or form instructions — ensures content is readable, navigable, and meaningful for everyone

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every piece of content should meet these criteria:

    line 24
  2. Distinctive:

    One idea per sentence: If a sentence has "and" in the middle, consider splitting it

    line 26
  3. Distinctive:

    Every form input must have:

    line 42
  4. Very specific:

    If multiple "Read more" links exist on a page, each must be distinguishable (via aria-label or visible text)

    line 67
  5. Distinctive:

    Follow the pattern: [What happened] + [What to do]

    line 71
  6. Distinctive:

    Keep the language neutral — never blame the user

    line 73
  7. Distinctive:

    Place the error message adjacent to the relevant field

    line 75
  8. Distinctive:

    No layout tables — use CSS Grid or Flexbox for layout

    line 83
  9. Distinctive:

    If a table is complex, provide a text summary

    line 84
  10. Distinctive:

    Before finalising any content, verify:

    line 88

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Accessible Content

Words are interface. Every label, every heading, every error message is a design decision. This skill ensures content works for screen readers, for people reading in a second language, for people under stress, and for people who just need things to be clear.

When to Use

  • Writing interface labels, button text, or form instructions
  • Structuring headings and page hierarchy
  • Writing error messages or help text
  • Creating alt text for images
  • Writing link text
  • Structuring data tables
  • Any time words appear on screen

Process

Step 1: Plain Language First

Every piece of content should meet these criteria:

  • Reading level: aim for a reading age of 12-14 (roughly 6th-8th grade). Use short sentences and common words
  • One idea per sentence. If a sentence has "and" in the middle, consider splitting it
  • Active voice. "We sent your confirmation" not "Your confirmation has been sent"
  • Specific over vague. "Save your changes" not "Submit" or "OK"
  • No jargon unless the audience demonstrably uses it. When jargon is necessary, provide a plain explanation

Step 2: Heading Structure

Headings are navigation for screen readers. Get the structure right:

  • One H1 per page — describes the page purpose
  • Headings follow a logical hierarchy — H1 → H2 → H3, never skip levels
  • Headings are descriptive — a screen reader user scanning headings alone should understand the page structure
  • Do not use headings for visual styling — if you need big bold text that is not a heading, use CSS

Step 3: Form Labels and Instructions

Every form input must have:

  • A visible label — placeholders are not labels (they disappear on focus)
  • Programmatic association — <label for="id"> or aria-labelledby
  • Required field indication — visible and announced, not just an asterisk
  • Format hints — "DD/MM/YYYY" before the input, not after
  • Error association — aria-describedby linking the input to its error message

Step 4: Alt Text

Alt text is content, not metadata:

Image TypeAlt Text Approach
Informative imageDescribe the information the image conveys, not the image itself
Decorative imageEmpty alt (alt="") — do not describe decorative images
Functional image (button/link)Describe the action, not the image ("Search", not "magnifying glass")
Complex image (chart/graph)Brief alt + detailed description in surrounding text or <details>
Image of textReproduce the full text content

Step 5: Link Text

Links must make sense out of context (screen reader users often navigate by links alone):

  • Yes: "Read the accessibility guidelines"
  • No: "Click here" or "Read more" or "Learn more"
  • If multiple "Read more" links exist on a page, each must be distinguishable (via aria-label or visible text)

Step 6: Error Messages

Follow the pattern: [What happened] + [What to do]

  • Keep the language neutral — never blame the user
  • Be specific about what needs to change
  • Place the error message adjacent to the relevant field
  • Announce errors to screen readers via aria-live="assertive" or by moving focus

Step 7: Tables

Data tables need:

  • <caption> describing the table's purpose
  • <th> elements with scope="col" or scope="row"
  • No layout tables — use CSS Grid or Flexbox for layout
  • If a table is complex, provide a text summary

Step 8: Content Review

Before finalising any content, verify:

  • Every interactive element has a visible, descriptive label
  • Heading hierarchy is logical and complete
  • Link text makes sense out of context
  • Error messages explain both the problem and the solution
  • Alt text is present and appropriate for every image
  • Reading level is appropriate for the audience
  • Content works when translated (avoid idioms, cultural references that do not travel)

Integration

  • Called by: writing-design-plans, ui-composition, interaction-design
  • Pairs with: cognitive-accessibility (reading load), inclusive-personas (audience awareness)
  • Reviewed by: designpowers-critique

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.