|
| 1 | +--- |
| 2 | +name: accessibility-rules |
| 3 | +description: Cross-format document accessibility rule reference with WCAG 2.2 mapping. Use when looking up accessibility rules for Word (DOCX-*), Excel (XLSX-*), PowerPoint (PPTX-*), or PDF (PDFUA.*, PDFBP.*, PDFQ.*) documents, or when mapping findings to WCAG success criteria for compliance reporting. |
| 4 | +--- |
| 5 | + |
| 6 | +# Document Accessibility Rules Reference |
| 7 | + |
| 8 | +## Rule ID Prefixes |
| 9 | + |
| 10 | +| Prefix | Format | Sub-Agent | Count | |
| 11 | +|--------|--------|-----------|-------| |
| 12 | +| DOCX-E* | Word errors | word-accessibility | 7 rules | |
| 13 | +| DOCX-W* | Word warnings | word-accessibility | 6 rules | |
| 14 | +| DOCX-T* | Word tips | word-accessibility | 3 rules | |
| 15 | +| XLSX-E* | Excel errors | excel-accessibility | 6 rules | |
| 16 | +| XLSX-W* | Excel warnings | excel-accessibility | 5 rules | |
| 17 | +| XLSX-T* | Excel tips | excel-accessibility | 3 rules | |
| 18 | +| PPTX-E* | PowerPoint errors | powerpoint-accessibility | 6 rules | |
| 19 | +| PPTX-W* | PowerPoint warnings | powerpoint-accessibility | 6 rules | |
| 20 | +| PPTX-T* | PowerPoint tips | powerpoint-accessibility | 4 rules | |
| 21 | +| PDFUA.* | PDF/UA conformance | pdf-accessibility | 30 rules | |
| 22 | +| PDFBP.* | PDF best practices | pdf-accessibility | 22 rules | |
| 23 | +| PDFQ.* | PDF quality/pipeline | pdf-accessibility | 4 rules | |
| 24 | + |
| 25 | +## WCAG 2.2 Criterion Mapping |
| 26 | + |
| 27 | +### Level A (Must Fix) |
| 28 | + |
| 29 | +| WCAG | Criterion | Related Rules | |
| 30 | +|------|-----------|---------------| |
| 31 | +| 1.1.1 | Non-text Content | DOCX-E001, XLSX-E004, PPTX-E003, PDFUA.IMG.ALT | |
| 32 | +| 1.3.1 | Info and Relationships | DOCX-E002, DOCX-E004, XLSX-E001, XLSX-E003, PPTX-E001, PDFUA.TAGGED, PDFUA.HEADINGS | |
| 33 | +| 1.3.2 | Meaningful Sequence | PPTX-E004, PDFUA.READING_ORDER | |
| 34 | +| 2.4.1 | Bypass Blocks | PDFUA.BOOKMARKS, PDFBP.NAV | |
| 35 | +| 2.4.2 | Page Titled | DOCX-E005, PPTX-E001, PDFUA.TITLE | |
| 36 | +| 2.4.6 | Headings and Labels | DOCX-E002, DOCX-E003, XLSX-E001, PDFUA.HEADINGS | |
| 37 | +| 3.1.1 | Language of Page | DOCX-E006, PDFUA.LANG | |
| 38 | +| 4.1.2 | Name, Role, Value | PDFUA.FORMS, PDFUA.TAGS | |
| 39 | + |
| 40 | +### Level AA (Should Fix) |
| 41 | + |
| 42 | +| WCAG | Criterion | Related Rules | |
| 43 | +|------|-----------|---------------| |
| 44 | +| 1.4.3 | Contrast (Minimum) | DOCX-W004, PPTX-W003 | |
| 45 | +| 1.4.5 | Images of Text | PDFBP.IMG_TEXT | |
| 46 | +| 2.4.7 | Focus Visible | PDFUA.FORMS | |
| 47 | +| 3.1.2 | Language of Parts | DOCX-W005, PDFUA.LANG_PARTS | |
| 48 | + |
| 49 | +## Severity Definitions |
| 50 | + |
| 51 | +| Severity | Meaning | Impact on AT Users | |
| 52 | +|----------|---------|-------------------| |
| 53 | +| Error | Blocks access | Content is inaccessible or unusable with assistive technology | |
| 54 | +| Warning | Degrades experience | Content is accessible but the experience is poor or confusing | |
| 55 | +| Tip | Best practice | Content works but could be improved for better AT experience | |
| 56 | + |
| 57 | +## Confidence Levels |
| 58 | + |
| 59 | +| Level | Weight | Meaning | |
| 60 | +|-------|--------|---------| |
| 61 | +| High | 1.0 | Sub-agent is certain this is a real issue | |
| 62 | +| Medium | 0.7 | Likely an issue but requires human judgment | |
| 63 | +| Low | 0.3 | Possible issue — flagged for review | |
| 64 | + |
| 65 | +## Compliance Standards |
| 66 | + |
| 67 | +| Standard | Scope | Key Rules | |
| 68 | +|----------|-------|-----------| |
| 69 | +| WCAG 2.2 Level A | International | All error-level rules | |
| 70 | +| WCAG 2.2 Level AA | International | All error + warning rules | |
| 71 | +| Section 508 | US Federal | Mapped to WCAG 2.0 Level AA | |
| 72 | +| EN 301 549 | European Union | Mapped to WCAG 2.1 Level AA | |
| 73 | +| PDF/UA (ISO 14289) | PDF-specific | All PDFUA.* rules | |
0 commit comments