Word Accessibility reference: Complete Rule Set
In the kit: .github/skills/word-accessibility/references/complete-rule-set.md.
-
This file as plain text, at
https://letitglow.app/ahg/kit/raw/.github/skills/word-accessibility/references/complete-rule-set.md - Everything in the kit
Copy it into ChatGPT or another assistant
Read the plain text first
Word Accessibility reference: Complete Rule Set
Part of the word-accessibility skill. Read this only when the task reaches these sections.
Complete Rule Set
Errors - Blocking accessibility issues
Each rule ID, with name and what it checks.
| Rule ID | Name | What It Checks |
|---|---|---|
| DOCX-E001 | missing-alt-text | Images, shapes, SmartArt, charts, embedded objects without alternative text. Look for <wp:docPr> or <pic:cNvPr> elements missing descr attribute, or descr="". Images marked decorative via Office's "Mark as decorative" feature (UUID C183D7F6-B498-43B3-948B-1728B52AA6E4 in <a:extLst>) are automatically skipped. |
| DOCX-E002 | missing-table-header | Tables without a designated header row. In Open XML, check <w:tblHeader/> inside <w:trPr> of the first <w:tr>. |
| DOCX-E003 | skipped-heading-level | Heading levels that skip (e.g., Heading 1 -> Heading 3). Parse <w:pStyle w:val="Heading1"/> etc. in <w:pPr> and verify sequential ordering. |
| DOCX-E004 | missing-document-title | Document properties missing title. Check <dc:title> in docProps/core.xml - must be non-empty. |
| DOCX-E005 | merged-split-cells | Tables with merged or split cells that break screen reader navigation. Check for <w:gridSpan>, <w:vMerge> in <w:tcPr>. |
| DOCX-E006 | ambiguous-link-text | Hyperlinks whose visible text is "click here", "here", "link", "read more", or is a raw URL. Parse <w:hyperlink> and its child <w:t> text. |
| DOCX-E007 | no-heading-structure | Document has zero headings. A document without headings is a wall of text to screen reader users - they cannot navigate by section. |
| DOCX-E008 | document-access-restricted | Document has Information Rights Management (IRM) restrictions that prevent assistive technology from reading content. Screen readers cannot access IRM-protected documents. |
| DOCX-E009 | content-controls-without-titles | Content controls (rich text, plain text, combo box, etc.) are missing Title properties. Screen readers use the Title property to identify and announce content controls to users. |
Warnings - Moderate accessibility issues
Each rule ID, with name and what it checks.
| Rule ID | Name | What It Checks |
|---|---|---|
| DOCX-W001 | nested-tables | Tables inside other tables. Nested tables are nearly impossible to navigate with a screen reader. Check for <w:tbl> inside <w:tc>. |
| DOCX-W002 | long-alt-text | Alt text exceeding 150 characters. Long alt text should typically be moved to a long description or the document body. |
| DOCX-W003 | manual-list | Paragraphs starting with manual bullet characters (-, *, >, or a bullet glyph such as U+2022) or manual numbers (1., 2.) instead of using Word's built-in list styles. |
| DOCX-W004 | blank-table-rows | Empty table rows or columns used for visual spacing. These create confusion in screen readers which announce empty cells. |
| DOCX-W005 | heading-length | Heading text exceeding 100 characters. Headings should be concise for quick navigation. |
| DOCX-W006 | watermark-present | Document contains a watermark. Watermarks are visual-only and not announced by screen readers. Important information should not be in a watermark. |
Tips - Best practices
Each rule ID, with name and what it checks.
| Rule ID | Name | What It Checks |
|---|---|---|
| DOCX-T001 | missing-document-language | Document language is not set: no <w:lang> in the w:docDefaults of word/styles.xml (Word also writes <w:themeFontLang> in word/settings.xml) and no <dc:language> in docProps/core.xml. Screen readers use this to select the correct speech synthesizer. |
| DOCX-T002 | layout-table-header | A table used for layout (no data) incorrectly has header row markup. Layout tables should not have structural table markup. |
| DOCX-T003 | repeated-blank-chars | Multiple consecutive spaces, tabs, or paragraph marks used for formatting instead of styles, indentation settings, or spacing settings. |
Rule Details and Remediation
DOCX-E001: Missing Alt Text
Impact: Blind users hear "image" or nothing. They have no idea what the content conveys.
Open XML location: Look for <wp:docPr> elements inside <w:drawing>. The descr attribute holds alt text:
<wp:docPr id="1" name="Picture 1" descr="Bar chart showing Q3 revenue up 15%"/>Missing or empty descr is a violation. Also check <pic:cNvPr> for inline images and <wsp> for shapes.
Remediation:
- Right-click the image in Word -> View Alt Text (or select it, then Picture Format -> Alt Text)
- Write a concise description of the image's content and purpose
- For decorative images, check "Mark as decorative" in the Alt Text pane (this sets
descrto empty and adds<a:extLst>with the decorative flag; the scanner detects this and skips the image)
DOCX-E002: Missing Table Header
Impact: Screen reader users cannot determine what each column contains. They hear cell values without context.
Open XML location: The first <w:tr> in a <w:tbl> should contain:
<w:trPr>
<w:tblHeader/>
</w:trPr>Remediation:
- Click in the first row of the table
- Table Design tab -> check "Header Row"
- Or: Table Properties -> Row tab -> check "Repeat as header row at the top of each page"
DOCX-E003: Skipped Heading Level
Impact: Screen reader users navigate by heading level. Skipping from H1 to H3 makes them think they missed a section.
Open XML location: Parse paragraph styles in word/document.xml:
<w:pPr>
<w:pStyle w:val="Heading1"/>
</w:pPr>Collect all heading levels in document order and verify no levels are skipped.
Remediation:
- Select the text with the wrong heading level
- Home tab -> Styles -> select the correct heading level
- Never use font size/bold to create visual headings - always use heading styles
DOCX-E004: Missing Document Title
Impact: Screen readers announce the document title first. Without one, users hear the filename, which is often cryptic.
Open XML location: In docProps/core.xml:
<dc:title>Quarterly Financial Report - Q3 2025</dc:title>Empty or missing <dc:title> is a violation.
Remediation:
- File -> Info -> Properties -> Title
- Enter a descriptive title
DOCX-E005: Merged/Split Cells
Impact: Screen readers navigate tables cell by cell. Merged cells break the grid navigation model - users get lost or hear wrong header associations.
Open XML location: In <w:tcPr>:
<w:gridSpan w:val="3"/> <!-- horizontal merge -->
<w:vMerge w:val="restart"/> <!-- vertical merge start -->
<w:vMerge/> <!-- vertical merge continue -->Remediation:
- Redesign the table to avoid merging. Use two separate tables if needed.
- If merging is unavoidable, ensure the merged cell contains clear context about what it spans.
DOCX-E006: Ambiguous Link Text
Impact: Screen reader users often navigate by links list. "Click here" repeated 10 times tells them nothing.
Open XML location: In word/document.xml, find <w:hyperlink> elements and extract child <w:t> text. In word/_rels/document.xml.rels, find the target URL.
Bad link text patterns: "click here", "here", "link", "read more", "learn more", "more info", raw URLs, single characters.
Remediation:
- Make the link text describe the destination: "Download the Q3 financial report (PDF, 2.4 MB)"
- Never use "click here" - it assumes mouse interaction
DOCX-E007: No Heading Structure
Impact: The entire document is one flat block to screen reader users. They cannot skim, skip, or navigate by section.
Remediation:
- Add headings using Home -> Styles -> Heading 1, Heading 2, etc.
- Use Heading 1 for the document title/main topic
- Use Heading 2 for major sections, Heading 3 for subsections
- Every section of meaningful content should have a heading
Validation Checklist
Document Properties
- [ ] Document has a title set in properties (DOCX-E004)
- [ ] Document language is set (DOCX-T001)
Heading Structure
- [ ] Document has at least one heading (DOCX-E007)
- [ ] Heading levels are sequential - no skips (DOCX-E003)
- [ ] Headings are concise (under 100 characters) (DOCX-W005)
- [ ] Headings use Word styles, not manual bold/font-size (DOCX-W003 related)
Images and Media
- [ ] All images have alt text (DOCX-E001)
- [ ] All shapes and SmartArt have alt text (DOCX-E001)
- [ ] All charts have alt text (DOCX-E001)
- [ ] Decorative images are marked as decorative (DOCX-E001)
- [ ] Alt text is concise (under 150 characters) (DOCX-W002)
Tables
- [ ] All data tables have header rows designated (DOCX-E002)
- [ ] No merged or split cells (DOCX-E005)
- [ ] No nested tables (DOCX-W001)
- [ ] No empty rows/columns for spacing (DOCX-W004)
- [ ] Layout tables don't have header row markup (DOCX-T002)
Links
- [ ] All hyperlinks have descriptive text (DOCX-E006)
- [ ] No raw URLs as link text (DOCX-E006)
Formatting
- [ ] Lists use Word styles, not manual characters (DOCX-W003)
- [ ] No repeated blank characters for spacing (DOCX-T003)
- [ ] No watermarks conveying important information (DOCX-W006)