Markdown Scanner reference: Domain 4: Table Accessibility (WCAG 1.3.1)
In the kit: .github/skills/markdown-scanner/references/domain-4-table-accessibility-wcag-1-3-1.md.
-
This file as plain text, at
https://letitglow.app/ahg/kit/raw/.github/skills/markdown-scanner/references/domain-4-table-accessibility-wcag-1-3-1.md - Everything in the kit
Copy it into ChatGPT or another assistant
Read the plain text first
Markdown Scanner reference: Domain 4: Table Accessibility (WCAG 1.3.1)
Part of the markdown-scanner skill. Read this only when the task reaches these sections.
Domain 4: Table Accessibility (WCAG 1.3.1)
Find all markdown tables (lines with |-separated cells).
For each table, check:
- Missing preceding description: No non-blank, non-heading line immediately before the table - auto-fix by generating a one-sentence summary from column headers.
- Empty first header cell:
| | col2 | col3 |- auto-fix by adding inferred header text. - Layout table: 2-column key-value display with no data relationship - flag for review.
- Wide table (5+ columns) without description: Flag as Moderate even if description exists.
Domain 5: Emoji (WCAG 1.3.3 / Cognitive)
Detect all emoji using Unicode ranges (U+1F600-U+1F64F, U+1F300-U+1F5FF, U+1F680-U+1F6FF, U+2600-U+26FF, U+2700-U+27BF, and extended ranges).
For each emoji, note: location (heading | bullet-first-char | consecutive-sequence | inline-body), count of consecutive emoji.
Classification by emoji preference setting:
remove-all: Every emoji is auto-fixable.remove-decorative(default): Auto-fix emoji in headings, emoji-as-bullets, consecutive sequences (2+). Flag single inline emoji for review.translate: Auto-fix where translation is known; flag unknowns for review.leave-unchanged: Do not flag any emoji.
Translate mode - known translations (the emoji here are the input to detect, listed deliberately): ๐ Launch | โ Done | โ ๏ธ Warning | โ Error | ๐ Note | ๐ก Tip | ๐ง Configuration | ๐ Documentation | ๐ฏ Goal | โจ New | ๐ Search | ๐ ๏ธ Tools | ๐ Hello | ๐ Celebration | โญ Featured | ๐ฌ Discussion | ๐ Home | ๐ Data | ๐ Security | ๐ Web | ๐ฆ Package | ๐ Link | ๐ Checklist | ๐ Achievement | โก Quick | ๐ Approved | ๐ Rejected | ๐ Bug | ๐ค Collaboration | ๐ Learning | ๐ Key | ๐ Pinned | โน๏ธ Info | ๐ Refresh | โ Add | โ Remove | ๐ป Code | ๐ Notification | ๐ฃ Announcement | ๐งช Test | ๐จ Design | ๐ Highlight | ๐ Increase | ๐ Decrease | ๐๏ธ Build
If translation is unknown, flag for human review.
When removing emoji that convey meaning, the meaning MUST be preserved in adjacent text.
Domain 6: Mermaid and ASCII Diagrams (WCAG 1.1.1 / 1.3.1)
Mermaid: Detect ```mermaid fenced code blocks (may have leading whitespace).
For each Mermaid block:
- Identify diagram type:
graph,sequenceDiagram,classDiagram,erDiagram,gantt,pie,stateDiagram,flowchart,mindmap,timeline - Check if a text description paragraph exists immediately before the block
- If no description: flag as Critical
When mermaid-preference: replace-with-text: for simple diagrams (graph, flowchart, pie, gantt), auto-generate a description draft. For complex types (sequenceDiagram, classDiagram, erDiagram), generate a draft and flag as needs-human-review.
Description generation templates:
| Type | Template |
|---|---|
graph TD/LR/RL/BT / flowchart |
"The following [direction] diagram shows: [list nodes and connections]" |
sequenceDiagram |
"The following sequence diagram shows interactions between [participants]: [list messages in order]" |
classDiagram |
"The following class diagram shows [N] classes: [list class names, key properties, relationships]" |
erDiagram |
"The following entity-relationship diagram shows [entities] with these relationships: [list relationships]" |
gantt |
"The following Gantt chart shows project tasks: [list section names and tasks with dates]" |
pie |
"The following pie chart shows [title]: [list each label and value]" |
stateDiagram |
"The following state diagram shows [N] states: [list state names and transitions]" |
mindmap |
"The following mind map shows [root topic] with branches: [list branch names]" |
timeline |
"The following timeline shows events: [list events in chronological order]" |
ASCII diagrams: Detect ASCII art patterns (lines containing combinations of +, -, |, >, <, ^, v, *) in non-code-block prose or in plain code blocks without a language identifier.
For each ASCII diagram:
- If no preceding text description: flag as Critical
- When
ascii-preference: replace-with-text: suggest moving the ASCII art to a<details>block with the description as primary content