# 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 `` or `` elements missing `descr` attribute, or `descr=""`. Images marked decorative via Office's "Mark as decorative" feature (UUID `C183D7F6-B498-43B3-948B-1728B52AA6E4` in ``) are automatically skipped. | | DOCX-E002 | missing-table-header | Tables without a designated header row. In Open XML, check `` inside `` of the first ``. | | DOCX-E003 | skipped-heading-level | Heading levels that skip (e.g., Heading 1 -> Heading 3). Parse `` etc. in `` and verify sequential ordering. | | DOCX-E004 | missing-document-title | Document properties missing title. Check `` 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 ``, `` in ``. | | DOCX-E006 | ambiguous-link-text | Hyperlinks whose visible text is "click here", "here", "link", "read more", or is a raw URL. Parse `` and its child `` 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 `` inside ``. | | 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 `` in the `w:docDefaults` of `word/styles.xml` (Word also writes `` in `word/settings.xml`) and no `` 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 `` elements inside ``. The `descr` attribute holds alt text: ```xml ``` Missing or empty `descr` is a violation. Also check `` for inline images and `` for shapes. **Remediation:** 1. Right-click the image in Word -> View Alt Text (or select it, then Picture Format -> Alt Text) 2. Write a concise description of the image's content and purpose 3. For decorative images, check "Mark as decorative" in the Alt Text pane (this sets `descr` to empty and adds `` 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 `` in a `` should contain: ```xml ``` **Remediation:** 1. Click in the first row of the table 2. Table Design tab -> check "Header Row" 3. 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`: ```xml ``` Collect all heading levels in document order and verify no levels are skipped. **Remediation:** 1. Select the text with the wrong heading level 2. Home tab -> Styles -> select the correct heading level 3. 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`: ```xml Quarterly Financial Report - Q3 2025 ``` Empty or missing `` is a violation. **Remediation:** 1. File -> Info -> Properties -> Title 2. 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 ``: ```xml ``` **Remediation:** 1. Redesign the table to avoid merging. Use two separate tables if needed. 2. 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 `` elements and extract child `` 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:** 1. Make the link text describe the destination: "Download the Q3 financial report (PDF, 2.4 MB)" 2. 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:** 1. Add headings using Home -> Styles -> Heading 1, Heading 2, etc. 2. Use Heading 1 for the document title/main topic 3. Use Heading 2 for major sections, Heading 3 for subsections 4. Every section of meaningful content should have a heading ## Validation Checklist ### Document Properties 1. [ ] Document has a title set in properties (DOCX-E004) 2. [ ] Document language is set (DOCX-T001) ### Heading Structure 3. [ ] Document has at least one heading (DOCX-E007) 4. [ ] Heading levels are sequential - no skips (DOCX-E003) 5. [ ] Headings are concise (under 100 characters) (DOCX-W005) 6. [ ] Headings use Word styles, not manual bold/font-size (DOCX-W003 related) ### Images and Media 7. [ ] All images have alt text (DOCX-E001) 8. [ ] All shapes and SmartArt have alt text (DOCX-E001) 9. [ ] All charts have alt text (DOCX-E001) 10. [ ] Decorative images are marked as decorative (DOCX-E001) 11. [ ] Alt text is concise (under 150 characters) (DOCX-W002) ### Tables 12. [ ] All data tables have header rows designated (DOCX-E002) 13. [ ] No merged or split cells (DOCX-E005) 14. [ ] No nested tables (DOCX-W001) 15. [ ] No empty rows/columns for spacing (DOCX-W004) 16. [ ] Layout tables don't have header row markup (DOCX-T002) ### Links 17. [ ] All hyperlinks have descriptive text (DOCX-E006) 18. [ ] No raw URLs as link text (DOCX-E006) ### Formatting 19. [ ] Lists use Word styles, not manual characters (DOCX-W003) 20. [ ] No repeated blank characters for spacing (DOCX-T003) 21. [ ] No watermarks conveying important information (DOCX-W006)