fix(a11y): ISSUE_TEMPLATE README.md diagram YAML header block accTitle/accDescr#993
fix(a11y): ISSUE_TEMPLATE README.md diagram YAML header block accTitle/accDescr#993ashleyshaw wants to merge 3 commits into
Conversation
Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Metadata governance
|
There was a problem hiding this comment.
Code Review
This pull request modifies the Mermaid diagram in the issue template README by moving the accessibility attributes inside the flowchart block. The reviewer points out that this inline syntax violates the repository's guidelines, which require using a YAML header block with delimiters for accTitle and accDescr before the diagram type declaration, and provides a suggestion to correct this.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| flowchart TD | ||
| accTitle: Issue template workflow | ||
| accDescr: Shows how users select an issue template, auto-populated fields flow into issue creation, and automation routes the issue to labelling, project, and notification steps. | ||
|
|
There was a problem hiding this comment.
The current implementation uses the inline syntax for accTitle and accDescr inside the diagram body, which violates the repository's Mermaid instructions. According to instructions/mermaid.instructions.md (lines 36-43 and 66-71), every Mermaid diagram must use the YAML header block format with --- delimiters placed immediately after the opening fence and before the diagram type declaration (e.g., flowchart TD).
Please update the diagram to use the correct YAML header block format.
| flowchart TD | |
| accTitle: Issue template workflow | |
| accDescr: Shows how users select an issue template, auto-populated fields flow into issue creation, and automation routes the issue to labelling, project, and notification steps. | |
| --- | |
| accTitle: Issue template workflow | |
| accDescr: Shows how users select an issue template, auto-populated fields flow into issue creation, and automation routes the issue to labelling, project, and notification steps. | |
| --- | |
| flowchart TD |
References
- Every Mermaid block must include an accessibility header block placed immediately after the opening fence and before the diagram type declaration, using the --- delimiters. Inline attributes after the diagram type line are not allowed. (link)
Required by validate:frontmatter:changed CI check — body changes must be accompanied by a version bump and updated last_updated date. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AuT8NQeGYY9UQHLsX3MMHc
|
Closing this PR — the approach it implements (converting to YAML GitHub's embedded Mermaid renderer does not support YAML front-matter ( This is superseded by branch
Issue #991 will be closed by the new PR. Generated by Claude Code |
Fix Pull Request
Linked issues
Closes #991
Summary
Adds the canonical YAML header block
accTitle/accDescrto the Mermaid flowchart in.github/ISSUE_TEMPLATE/README.md, replacing the deprecated inline syntax that was missed during the Wave-5 Mermaid WCAG accessibility sweep.Changes
.github/ISSUE_TEMPLATE/README.md: converts the flowchartaccTitle/accDescrfrom inline declarations (inside the diagram body) to the YAML header block format (---delimiters before theflowchart TDline), consistent withinstructions/mermaid.instructions.mdv2.0 and all other diagrams in the repository.Impact / Compatibility
validate:mermaid-accessibilityshould passVerification
validate:mermaid-accessibilitypassesvalidate:mermaid-syntaxpassesversionandlast_updatedbumpedRisk & Rollback
Changelog
Fixed
.github/ISSUE_TEMPLATE/README.mdMermaid diagram now uses the YAML header block format foraccTitle/accDescr, consistent with v2.0 standards. Closes fix(a11y): ISSUE_TEMPLATE README.md Mermaid diagram missing YAML header blockaccTitle/accDescr#991.Checklist (Global DoD / PR)
Generated by Claude Code