@lebtiga/sonic-agent 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +223 -0
- package/README.md +61 -0
- package/bin/sonic.js +304 -0
- package/lib/index.js +20 -0
- package/lib/installer.js +156 -0
- package/lib/license.js +48 -0
- package/package.json +46 -0
- package/plugin/.claude-plugin/plugin.json +13 -0
- package/plugin/README.md +100 -0
- package/plugin/agents/sonic.md +80 -0
- package/plugin/commands/sonic-build.md +145 -0
- package/plugin/commands/sonic-help.md +71 -0
- package/plugin/skills/accessibility-qa/SKILL.md +160 -0
- package/plugin/skills/accessibility-qa/templates/accessibility-qa-report-template.md +123 -0
- package/plugin/skills/accessibility-qa/templates/wcag-compliance-statement.md +70 -0
- package/plugin/skills/aka-wireframe-wp/SKILL.md +149 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/README.md +190 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/footer.php +49 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/functions.php +395 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/header.php +58 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/index.php +39 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/page-answer.php +62 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/page-authority-hub.php +122 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/page-knowledge.php +58 -0
- package/plugin/skills/aka-wireframe-wp/assets/aka-framework-theme/style.css +633 -0
- package/plugin/skills/aka-wireframe-wp/references/content-generator.md +371 -0
- package/plugin/skills/aka-wireframe-wp/references/internal-linker.md +430 -0
- package/plugin/skills/aka-wireframe-wp/references/orchestrator.md +269 -0
- package/plugin/skills/aka-wireframe-wp/references/prompts-library.md +880 -0
- package/plugin/skills/aka-wireframe-wp/references/seo-optimizer.md +433 -0
- package/plugin/skills/aka-wireframe-wp/references/strategy-planner.md +317 -0
- package/plugin/skills/aka-wireframe-wp/references/wordpress-deployer.md +545 -0
- package/plugin/skills/authority-site-builder/SKILL.md +138 -0
- package/plugin/skills/brand-philosophy/SKILL.md +77 -0
- package/plugin/skills/freepik-spaces/SKILL.md +122 -0
- package/plugin/skills/freepik-spaces/docs/automation-guide.md +233 -0
- package/plugin/skills/freepik-spaces/docs/research-notes.md +264 -0
- package/plugin/skills/freepik-spaces/plans/naseberry-demo-plan.md +320 -0
- package/plugin/skills/freepik-spaces/templates/naseberry-demo.json +302 -0
- package/plugin/skills/freepik-spaces/templates/saas-demo.json +212 -0
- package/plugin/skills/frontend-design/LICENSE.txt +177 -0
- package/plugin/skills/frontend-design/SKILL.md +77 -0
- package/plugin/skills/programmatic-seo/SKILL.md +236 -0
- package/plugin/skills/programmatic-seo/references/playbooks.md +293 -0
- package/plugin/skills/seo-qa/SKILL.md +132 -0
- package/plugin/skills/seo-qa/templates/schema-localbusiness.json +49 -0
- package/plugin/skills/seo-qa/templates/schema-service.json +36 -0
- package/plugin/skills/seo-qa/templates/seo-qa-report-template.md +90 -0
- package/plugin/skills/visual-identity/SKILL.md +109 -0
- package/plugin/skills/visual-identity/templates/style-guide-template.md +108 -0
- package/plugin/skills/website-image-gen/SKILL.md +82 -0
- package/plugin/skills/website-image-gen/templates/blog-featured.md +56 -0
- package/plugin/skills/website-image-gen/templates/hero-service-photo.md +56 -0
- package/plugin/skills/wordpress-pro/SKILL.md +105 -0
- package/plugin/skills/wordpress-pro/references/gutenberg-blocks.md +870 -0
- package/plugin/skills/wordpress-pro/references/hooks-filters.md +845 -0
- package/plugin/skills/wordpress-pro/references/performance-security.md +1012 -0
- package/plugin/skills/wordpress-pro/references/plugin-architecture.md +1041 -0
- package/plugin/skills/wordpress-pro/references/theme-development.md +858 -0
- package/plugin/sops/SOP-Sonic 777/authority-site-sop.html +1100 -0
- package/plugin/sops/SOP-WORDPRESS-330-PAGE-SITES.md +926 -0
- package/scripts/postinstall.js +109 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: accessibility-qa
|
|
3
|
+
version: 1.0.0
|
|
4
|
+
description: Audit a WordPress site against WCAG 2.1 AA standards (the legal compliance bar for ADA accessibility). Catches contrast issues, missing alt text, missing form labels, keyboard traps, missing ARIA, heading hierarchy, and other accessibility violations. Generates audit report and applies fixes via WP REST API. CRITICAL for healthcare, legal, government, and education clients — these industries get sued for non-compliance.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Accessibility QA Skill
|
|
8
|
+
|
|
9
|
+
WCAG 2.1 AA compliance audit and remediation. Run alongside `seo-qa` before closing any project — but ESPECIALLY for healthcare, legal, education, and government clients where ADA lawsuits are common.
|
|
10
|
+
|
|
11
|
+
## When to use this
|
|
12
|
+
|
|
13
|
+
- After Stage 5 (bulk page generation) and before project handoff
|
|
14
|
+
- Anytime the user asks "is this ADA compliant?" or "WCAG compliant?"
|
|
15
|
+
- For ALL healthcare, legal, financial, education, or government client work
|
|
16
|
+
- Before delivering any site to a client whose business has accessibility risk exposure
|
|
17
|
+
|
|
18
|
+
## What WCAG 2.1 AA covers
|
|
19
|
+
|
|
20
|
+
The legal bar most US businesses are measured against. Failure = lawsuit risk.
|
|
21
|
+
|
|
22
|
+
### 🔴 Critical (level A — must pass)
|
|
23
|
+
|
|
24
|
+
1. **Image alt text** — every `<img>` must have descriptive `alt` (or `alt=""` if decorative)
|
|
25
|
+
2. **Heading hierarchy** — exactly one `<h1>` per page; never skip levels (h2 → h4 ❌)
|
|
26
|
+
3. **Form labels** — every `<input>`, `<select>`, `<textarea>` must have an associated `<label>` or `aria-label`
|
|
27
|
+
4. **Language attribute** — `<html lang="en">` (or appropriate language)
|
|
28
|
+
5. **Keyboard accessible** — all interactive elements (buttons, links, forms) must work without a mouse
|
|
29
|
+
6. **No keyboard traps** — user can tab through entire page and back out
|
|
30
|
+
7. **Skip-to-content link** — first focusable element on every page
|
|
31
|
+
8. **Focus visible** — `:focus` styles on all interactive elements
|
|
32
|
+
9. **Page titles** — every page must have a unique, descriptive `<title>`
|
|
33
|
+
10. **Link purpose** — `<a>` tags must describe destination ("Click here" ❌)
|
|
34
|
+
|
|
35
|
+
### 🟡 Important (level AA — required for most compliance)
|
|
36
|
+
|
|
37
|
+
11. **Color contrast** — 4.5:1 for body text, 3:1 for large text (18pt+ or 14pt bold+)
|
|
38
|
+
12. **Resizable text** — page must work at 200% zoom without breaking
|
|
39
|
+
13. **Multiple navigation methods** — at least one of: nav menu, search, sitemap
|
|
40
|
+
14. **Heading describes content** — no generic "Section 1" headings
|
|
41
|
+
15. **Focus order** — tab order must follow visual order
|
|
42
|
+
16. **Form errors** — clearly identified, suggested fixes provided
|
|
43
|
+
17. **Required fields** — marked as required, not just colored
|
|
44
|
+
18. **Captions on video** — if video exists
|
|
45
|
+
19. **Audio descriptions** — if video has visual info
|
|
46
|
+
|
|
47
|
+
### 🟢 Nice-to-have (level AAA — gold standard)
|
|
48
|
+
|
|
49
|
+
20. **Sign language** — for video content
|
|
50
|
+
21. **Extended audio descriptions** — for complex video
|
|
51
|
+
22. **Reading level** — content at 9th grade level or below where possible
|
|
52
|
+
23. **Pronunciation** — for ambiguous terms
|
|
53
|
+
24. **Context-sensitive help** — for forms
|
|
54
|
+
|
|
55
|
+
## How to run the audit
|
|
56
|
+
|
|
57
|
+
### Step 1: Pull all pages from WP
|
|
58
|
+
```
|
|
59
|
+
GET /wp-json/wp/v2/pages?per_page=100
|
|
60
|
+
GET /wp-json/wp/v2/posts?per_page=100
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Step 2: Fetch each page's rendered HTML
|
|
64
|
+
For each page, parse:
|
|
65
|
+
- `<img>` tags → check `alt` attribute
|
|
66
|
+
- `<h1>` through `<h6>` → check hierarchy and uniqueness
|
|
67
|
+
- `<form>`, `<input>`, `<label>` → check association
|
|
68
|
+
- `<a>` tags → check link text quality
|
|
69
|
+
- `<html>` → check `lang` attribute
|
|
70
|
+
- `<title>` → check uniqueness and descriptiveness
|
|
71
|
+
- Inline styles + computed CSS → check color contrast (foreground vs background)
|
|
72
|
+
- ARIA attributes on interactive elements
|
|
73
|
+
|
|
74
|
+
### Step 3: Color contrast check
|
|
75
|
+
For every text element:
|
|
76
|
+
- Extract foreground color
|
|
77
|
+
- Extract background color (compute through layers)
|
|
78
|
+
- Calculate contrast ratio: `(L1 + 0.05) / (L2 + 0.05)`
|
|
79
|
+
- Where L1 = lighter color luminance, L2 = darker
|
|
80
|
+
- Body text needs ≥ 4.5:1
|
|
81
|
+
- Large text (18pt+ or 14pt bold) needs ≥ 3:1
|
|
82
|
+
- Flag any failures
|
|
83
|
+
|
|
84
|
+
### Step 4: Keyboard accessibility check
|
|
85
|
+
Test each interactive element:
|
|
86
|
+
- Has `tabindex` (0 or positive)
|
|
87
|
+
- Has visible focus styles
|
|
88
|
+
- Doesn't trap focus
|
|
89
|
+
|
|
90
|
+
### Step 5: Generate ACCESSIBILITY-QA-REPORT.md
|
|
91
|
+
- Per-page checklist (pass/fail per check)
|
|
92
|
+
- Site-wide issues (consistent missing alt patterns, etc.)
|
|
93
|
+
- Critical violations count (block ship)
|
|
94
|
+
- Important violations count
|
|
95
|
+
- Specific URLs + element selectors needing fixes
|
|
96
|
+
|
|
97
|
+
### Step 6: Apply fixes
|
|
98
|
+
With user confirmation:
|
|
99
|
+
- Generate alt text for missing images (use image filename + page context)
|
|
100
|
+
- Fix heading hierarchy (rename misordered headings)
|
|
101
|
+
- Add `aria-label` to unlabeled form inputs
|
|
102
|
+
- Add skip-to-content link to theme header
|
|
103
|
+
- Fix low-contrast colors (suggest darker/lighter alternatives that match brand)
|
|
104
|
+
- Update theme CSS with `:focus` styles where missing
|
|
105
|
+
|
|
106
|
+
### Step 7: Re-scan
|
|
107
|
+
After fixes, run audit again. Confirm:
|
|
108
|
+
- ✅ All Level A criteria pass
|
|
109
|
+
- ✅ All Level AA criteria pass
|
|
110
|
+
- ✅ Document remaining issues (rare cases that need manual review)
|
|
111
|
+
|
|
112
|
+
## Output
|
|
113
|
+
|
|
114
|
+
Save `ACCESSIBILITY-QA-REPORT.md` at project root.
|
|
115
|
+
|
|
116
|
+
For high-stakes clients (healthcare, legal, govt), also generate:
|
|
117
|
+
- `WCAG-COMPLIANCE-STATEMENT.md` — formal statement of conformance, dated, ready to add to the client's site footer
|
|
118
|
+
- `ACCESSIBILITY-FIXES-LOG.md` — what was changed and why (audit trail)
|
|
119
|
+
|
|
120
|
+
## Templates
|
|
121
|
+
|
|
122
|
+
See:
|
|
123
|
+
- `templates/accessibility-qa-report-template.md`
|
|
124
|
+
- `templates/wcag-compliance-statement.md`
|
|
125
|
+
|
|
126
|
+
## Hard rules
|
|
127
|
+
|
|
128
|
+
- ❌ Never deliver to healthcare/legal/govt/education clients without running this skill
|
|
129
|
+
- ❌ Never claim "WCAG 2.1 AA compliant" unless this skill has actually been run and passed
|
|
130
|
+
- ✅ Always offer compliance-grade clients a formal Compliance Statement document
|
|
131
|
+
- ✅ Always include accessibility QA in Stage 6 of the build flow
|
|
132
|
+
|
|
133
|
+
## Common patterns to fix
|
|
134
|
+
|
|
135
|
+
### Generic "click here" links
|
|
136
|
+
**Bad:** `<a href="/services">Click here</a>`
|
|
137
|
+
**Fix:** `<a href="/services">View our HVAC services</a>`
|
|
138
|
+
|
|
139
|
+
### Missing form labels
|
|
140
|
+
**Bad:** `<input type="email" placeholder="Email">`
|
|
141
|
+
**Fix:** `<label for="email">Email</label><input id="email" type="email">`
|
|
142
|
+
|
|
143
|
+
### Low-contrast text on hero
|
|
144
|
+
**Bad:** white text on light blue background (3.2:1 — fails)
|
|
145
|
+
**Fix:** darker text or darker background (4.5:1+)
|
|
146
|
+
|
|
147
|
+
### Missing skip-to-content
|
|
148
|
+
**Bad:** keyboard user must tab through 30 nav items to reach content
|
|
149
|
+
**Fix:** Add as first focusable element:
|
|
150
|
+
```html
|
|
151
|
+
<a class="skip-to-content" href="#main">Skip to main content</a>
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Heading skipped levels
|
|
155
|
+
**Bad:** `<h1>` → `<h3>` (skipped h2)
|
|
156
|
+
**Fix:** `<h1>` → `<h2>` → `<h3>` proper sequence
|
|
157
|
+
|
|
158
|
+
## Why this matters for SALES
|
|
159
|
+
|
|
160
|
+
Healthcare/legal/govt clients have HIGH ADA lawsuit exposure. If an agency promises "WCAG compliant" sites without actually delivering compliance, they're creating legal liability for themselves AND their clients. This skill is what lets you confidently sell to compliance-sensitive industries — and **price accordingly** ($5K-$10K vs $1K-$3K for low-stakes industries).
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# ACCESSIBILITY QA REPORT — [Site Name]
|
|
2
|
+
|
|
3
|
+
**Audit Date:** [Date]
|
|
4
|
+
**Pages scanned:** [N]
|
|
5
|
+
**Compliance Standard:** WCAG 2.1 Level AA
|
|
6
|
+
**Overall Status:** [✅ COMPLIANT / ⚠️ ISSUES FOUND / 🔴 NON-COMPLIANT]
|
|
7
|
+
|
|
8
|
+
## 📊 Summary
|
|
9
|
+
|
|
10
|
+
| Severity | Count | Status |
|
|
11
|
+
|----------|-------|--------|
|
|
12
|
+
| 🔴 Level A failures | [N] | [Block ship] |
|
|
13
|
+
| 🟡 Level AA failures | [N] | [Fix recommended] |
|
|
14
|
+
| 🟢 Level AAA suggestions | [N] | [Optional] |
|
|
15
|
+
|
|
16
|
+
## 🔴 Level A Failures (BLOCKERS)
|
|
17
|
+
|
|
18
|
+
### Missing alt text
|
|
19
|
+
|
|
20
|
+
[N] images have no alt attribute or empty alt for non-decorative content.
|
|
21
|
+
|
|
22
|
+
**Affected pages:**
|
|
23
|
+
- [URL] — `<img src="hero.jpg">` (line 42)
|
|
24
|
+
- [URL] — `<img src="team-photo.jpg">` (line 18)
|
|
25
|
+
|
|
26
|
+
**Fix:** Add descriptive alt text via WP REST API.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
### Heading hierarchy violations
|
|
31
|
+
|
|
32
|
+
[N] pages skip heading levels.
|
|
33
|
+
|
|
34
|
+
**Examples:**
|
|
35
|
+
- [URL] — `<h1>` jumps to `<h3>` (no h2)
|
|
36
|
+
- [URL] — Multiple `<h1>` tags on one page
|
|
37
|
+
|
|
38
|
+
**Fix:** Rebuild headings in proper sequence (h1 → h2 → h3).
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
### Form labels missing
|
|
43
|
+
|
|
44
|
+
[N] form inputs lack proper labels.
|
|
45
|
+
|
|
46
|
+
**Affected:**
|
|
47
|
+
- [URL] — Contact form has unlabeled email field
|
|
48
|
+
- [URL] — Newsletter signup missing label
|
|
49
|
+
|
|
50
|
+
**Fix:** Add `<label for="...">` or `aria-label` to each input.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## 🟡 Level AA Failures
|
|
55
|
+
|
|
56
|
+
### Color contrast violations
|
|
57
|
+
|
|
58
|
+
[N] text elements fail 4.5:1 (body) or 3:1 (large text) ratio.
|
|
59
|
+
|
|
60
|
+
**Examples:**
|
|
61
|
+
- [URL] — Body text `#7A7A7A` on `#FFFFFF` = 4.07:1 (needs 4.5:1)
|
|
62
|
+
- [URL] — Button text `#FFFFFF` on `#A8C9DC` = 2.4:1 (needs 4.5:1)
|
|
63
|
+
|
|
64
|
+
**Fix:** Adjust colors to meet contrast minimums.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
### Missing focus styles
|
|
69
|
+
|
|
70
|
+
Theme CSS lacks `:focus` indicators on [N] interactive element types.
|
|
71
|
+
|
|
72
|
+
**Fix:** Add visible focus outlines to theme CSS:
|
|
73
|
+
```css
|
|
74
|
+
a:focus, button:focus, input:focus { outline: 3px solid #0066CC; outline-offset: 2px; }
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
### Missing skip-to-content link
|
|
80
|
+
|
|
81
|
+
No skip link found in theme header.
|
|
82
|
+
|
|
83
|
+
**Fix:** Add as first focusable element of every page:
|
|
84
|
+
```html
|
|
85
|
+
<a class="skip-to-content" href="#main">Skip to main content</a>
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## ✅ Passing Checks
|
|
91
|
+
|
|
92
|
+
- [x] Language attribute present (`<html lang="en">`)
|
|
93
|
+
- [x] Page titles unique and descriptive
|
|
94
|
+
- [x] Link purpose clear (no "click here" links found)
|
|
95
|
+
- [x] Tab order follows visual order
|
|
96
|
+
- [x] No keyboard traps detected
|
|
97
|
+
|
|
98
|
+
## 📋 Compliance Status
|
|
99
|
+
|
|
100
|
+
**This site:** [✅ Meets / ⚠️ Partially Meets / ❌ Does Not Meet] **WCAG 2.1 Level AA**
|
|
101
|
+
|
|
102
|
+
If "Meets" — generate `WCAG-COMPLIANCE-STATEMENT.md` for the client's footer.
|
|
103
|
+
|
|
104
|
+
## 🛠️ Next Steps
|
|
105
|
+
|
|
106
|
+
1. Apply fixes for all Level A failures (REQUIRED)
|
|
107
|
+
2. Apply fixes for all Level AA failures (REQUIRED for ADA compliance)
|
|
108
|
+
3. Re-run audit
|
|
109
|
+
4. If passing, generate compliance statement document
|
|
110
|
+
5. Brief the client on ongoing accessibility maintenance
|
|
111
|
+
|
|
112
|
+
## ⚠️ Important Disclaimer
|
|
113
|
+
|
|
114
|
+
This automated audit catches the most common WCAG violations but is not a substitute for:
|
|
115
|
+
- Manual screen reader testing (NVDA, JAWS, VoiceOver)
|
|
116
|
+
- User testing with people who use assistive technology
|
|
117
|
+
- Legal compliance review by an accessibility specialist
|
|
118
|
+
|
|
119
|
+
For high-risk industries (healthcare, legal, government, education), recommend a manual audit by a certified accessibility professional after this automated pass.
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
*Report generated by Sonic ⚡ Accessibility QA skill*
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Accessibility Statement
|
|
2
|
+
|
|
3
|
+
**Last updated:** [Date]
|
|
4
|
+
|
|
5
|
+
## Our Commitment
|
|
6
|
+
|
|
7
|
+
[BUSINESS NAME] is committed to ensuring digital accessibility for people with disabilities. We are continually improving the user experience for everyone and applying the relevant accessibility standards.
|
|
8
|
+
|
|
9
|
+
## Conformance Status
|
|
10
|
+
|
|
11
|
+
The Web Content Accessibility Guidelines (WCAG) define requirements for designers and developers to improve accessibility for people with disabilities. They define three levels of conformance: Level A, Level AA, and Level AAA.
|
|
12
|
+
|
|
13
|
+
**[BUSINESS NAME] website is fully conformant with WCAG 2.1 level AA.**
|
|
14
|
+
|
|
15
|
+
Fully conformant means that the content fully conforms to the accessibility standard without any exceptions.
|
|
16
|
+
|
|
17
|
+
## Compatibility with Browsers and Assistive Technology
|
|
18
|
+
|
|
19
|
+
This website is designed to be compatible with the following assistive technologies:
|
|
20
|
+
|
|
21
|
+
- Recent versions of major screen readers (NVDA, JAWS, VoiceOver)
|
|
22
|
+
- Voice recognition software
|
|
23
|
+
- Operating system screen magnifiers
|
|
24
|
+
- Operating system keyboard shortcuts
|
|
25
|
+
- Browser keyboard navigation
|
|
26
|
+
|
|
27
|
+
This website is compatible with recent versions of:
|
|
28
|
+
|
|
29
|
+
- Chrome / Edge
|
|
30
|
+
- Firefox
|
|
31
|
+
- Safari
|
|
32
|
+
|
|
33
|
+
## Technical Specifications
|
|
34
|
+
|
|
35
|
+
Accessibility of [BUSINESS NAME] relies on the following technologies to work with the particular combination of web browser and any assistive technologies or plugins installed on your computer:
|
|
36
|
+
|
|
37
|
+
- HTML
|
|
38
|
+
- WAI-ARIA
|
|
39
|
+
- CSS
|
|
40
|
+
- JavaScript
|
|
41
|
+
|
|
42
|
+
These technologies are relied upon for conformance with the accessibility standards used.
|
|
43
|
+
|
|
44
|
+
## Assessment Approach
|
|
45
|
+
|
|
46
|
+
[BUSINESS NAME] assessed the accessibility of this website by the following approaches:
|
|
47
|
+
|
|
48
|
+
- ✅ Automated scanning against WCAG 2.1 AA criteria
|
|
49
|
+
- ✅ Manual review of key pages and components
|
|
50
|
+
- ✅ Color contrast analysis on all interactive elements
|
|
51
|
+
- ✅ Keyboard navigation testing
|
|
52
|
+
- ✅ Screen reader compatibility checks
|
|
53
|
+
|
|
54
|
+
## Feedback
|
|
55
|
+
|
|
56
|
+
We welcome your feedback on the accessibility of [BUSINESS NAME]. Please let us know if you encounter accessibility barriers:
|
|
57
|
+
|
|
58
|
+
- **Email:** [contact email]
|
|
59
|
+
- **Phone:** [contact phone]
|
|
60
|
+
- **Postal Address:** [business address]
|
|
61
|
+
|
|
62
|
+
We try to respond to feedback within 5 business days.
|
|
63
|
+
|
|
64
|
+
## Date
|
|
65
|
+
|
|
66
|
+
This statement was created on [DATE] using the [BUSINESS NAME] accessibility assessment process.
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
*Accessibility audit performed using Sonic Agent Accessibility QA, [DATE]. For complex compliance situations, [BUSINESS NAME] also engages [or recommends engaging] certified accessibility professionals for manual review.*
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aka-wireframe-wp
|
|
3
|
+
description: Build complete WordPress authority sites (200+ pages) using the Authority-Knowledge-Answer (AKA) content framework. Use when the user wants to create large-scale WordPress sites with topical clustering, programmatic content generation, SEO optimization, or mentions "AKA framework", "authority site", "topical authority", "content hub", "pillar content", "200 page site", or "wireframe WordPress".
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# AKA Wireframe WordPress
|
|
7
|
+
|
|
8
|
+
Build complete WordPress authority sites automatically using the Authority-Knowledge-Answer (AKA) content framework. Generate 200+ page sites with proper topical clustering, internal linking, and SEO optimization.
|
|
9
|
+
|
|
10
|
+
**Generate in 1-2 hours what typically takes 4-6 weeks manually.**
|
|
11
|
+
|
|
12
|
+
## The AKA Framework
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
Authority Pages (5-7 hubs)
|
|
16
|
+
├── 4,000 words, comprehensive guides
|
|
17
|
+
├── Head keywords, hub for all related content
|
|
18
|
+
│
|
|
19
|
+
├── Knowledge Pages (12-15 per hub)
|
|
20
|
+
│ ├── 2,000 words, deep-dive content
|
|
21
|
+
│ ├── Mid-tail keywords
|
|
22
|
+
│ └── Specific topics and solutions
|
|
23
|
+
│
|
|
24
|
+
└── Answer Pages (20-30 per hub)
|
|
25
|
+
├── 1,000 words, FAQ format
|
|
26
|
+
├── Long-tail questions
|
|
27
|
+
└── Featured snippet optimized
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Output Per Hub (~20 minutes)
|
|
31
|
+
- 1 Authority page (4,000 words)
|
|
32
|
+
- 15 Knowledge pages (30,000 words)
|
|
33
|
+
- 25 Answer pages (25,000 words)
|
|
34
|
+
- 300+ internal links
|
|
35
|
+
- Complete SEO optimization
|
|
36
|
+
|
|
37
|
+
## Full Site (5 hubs, 1-2 hours)
|
|
38
|
+
- 5 Authority hubs
|
|
39
|
+
- 75 Knowledge pages
|
|
40
|
+
- 125 Answer pages
|
|
41
|
+
- **205 total pages**
|
|
42
|
+
- 1,500+ internal links
|
|
43
|
+
|
|
44
|
+
## Quick Start Workflow
|
|
45
|
+
|
|
46
|
+
### Step 1: Setup (5 min)
|
|
47
|
+
Collect 15 business variables:
|
|
48
|
+
1. Business name
|
|
49
|
+
2. Industry
|
|
50
|
+
3. Location (City, State)
|
|
51
|
+
4. Service radius
|
|
52
|
+
5. Primary service (→ first Authority Hub)
|
|
53
|
+
6. Secondary services (→ more Authority Hubs)
|
|
54
|
+
7. Target audience
|
|
55
|
+
8. Top 3 pain points
|
|
56
|
+
9. Brand voice
|
|
57
|
+
10. Unique value proposition
|
|
58
|
+
11. Phone number
|
|
59
|
+
12. Email
|
|
60
|
+
13. Business address
|
|
61
|
+
14. Hours of operation
|
|
62
|
+
15. Trust signals (years, clients, awards)
|
|
63
|
+
|
|
64
|
+
Save to: `.factory/config/aka-wireframe/business-config.json`
|
|
65
|
+
|
|
66
|
+
### Step 2: Generate Strategy (2 min)
|
|
67
|
+
Create complete AKA wireframe:
|
|
68
|
+
- 5-7 Authority Hub topics
|
|
69
|
+
- 12-15 Knowledge pages per hub
|
|
70
|
+
- 20-30 Answer questions per hub
|
|
71
|
+
- Complete URL structure
|
|
72
|
+
- Keyword mapping
|
|
73
|
+
|
|
74
|
+
Save to: `.factory/config/aka-wireframe/aka-strategy-output.json`
|
|
75
|
+
|
|
76
|
+
### Step 3: Generate Content (8 min/hub)
|
|
77
|
+
Create all content with variable injection:
|
|
78
|
+
- Authority page (4,000 words)
|
|
79
|
+
- Knowledge pages (15 × 2,000 words)
|
|
80
|
+
- Answer pages (25 × 1,000 words)
|
|
81
|
+
- Add `[LINK:slug|anchor]` placeholders
|
|
82
|
+
|
|
83
|
+
Save to: `generated-content/hub-N/`
|
|
84
|
+
|
|
85
|
+
### Step 4: Process Internal Links (2 min/hub)
|
|
86
|
+
- Convert `[LINK:...]` placeholders to URLs
|
|
87
|
+
- Add AI contextual links
|
|
88
|
+
- Validate AKA structure
|
|
89
|
+
- No broken links, no orphans
|
|
90
|
+
|
|
91
|
+
### Step 5: Deploy to WordPress (3 min/hub)
|
|
92
|
+
- Create pages with hierarchy
|
|
93
|
+
- Set parent-child relationships
|
|
94
|
+
- Add SEO metadata
|
|
95
|
+
- Insert schema markup
|
|
96
|
+
- Create navigation menus
|
|
97
|
+
|
|
98
|
+
## Reference Files
|
|
99
|
+
|
|
100
|
+
For detailed implementation, load these references as needed:
|
|
101
|
+
|
|
102
|
+
| Reference | When to Load |
|
|
103
|
+
|-----------|--------------|
|
|
104
|
+
| `references/orchestrator.md` | Coordinating full workflow |
|
|
105
|
+
| `references/strategy-planner.md` | Generating AKA strategy |
|
|
106
|
+
| `references/content-generator.md` | Creating page content |
|
|
107
|
+
| `references/internal-linker.md` | Processing links |
|
|
108
|
+
| `references/wordpress-deployer.md` | Deploying to WordPress |
|
|
109
|
+
| `references/seo-optimizer.md` | SEO auditing |
|
|
110
|
+
|
|
111
|
+
## Industry Applications
|
|
112
|
+
|
|
113
|
+
Works for any vertical:
|
|
114
|
+
- **Law Firms**: Personal injury, family law, criminal defense
|
|
115
|
+
- **Financial Services**: Title loans, mortgages, insurance
|
|
116
|
+
- **Home Services**: HVAC, plumbing, roofing, landscaping
|
|
117
|
+
- **Healthcare**: Medical practices, dental, chiropractic
|
|
118
|
+
- **Professional Services**: Consulting, real estate, agencies
|
|
119
|
+
|
|
120
|
+
## Content Structure Example
|
|
121
|
+
|
|
122
|
+
**HVAC Company - Hub 1: AC Repair**
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
ac-repair-services/ (Authority - 4,000 words)
|
|
126
|
+
├── ac-not-cooling/ (Knowledge)
|
|
127
|
+
├── ac-making-noise/ (Knowledge)
|
|
128
|
+
├── ac-refrigerant-leak/ (Knowledge)
|
|
129
|
+
├── ...15 Knowledge pages
|
|
130
|
+
├── how-much-ac-repair-cost/ (Answer)
|
|
131
|
+
├── why-ac-blowing-warm-air/ (Answer)
|
|
132
|
+
├── when-replace-vs-repair-ac/ (Answer)
|
|
133
|
+
└── ...25 Answer pages
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
## Key Principles
|
|
137
|
+
|
|
138
|
+
1. **Variable Injection**: All content uses `{{BUSINESS_NAME}}`, `{{LOCATION}}`, etc.
|
|
139
|
+
2. **Two-Phase Linking**: Placeholders first, then conversion + AI contextual links
|
|
140
|
+
3. **SEO-First**: Every page has title, meta, schema, keywords mapped
|
|
141
|
+
4. **Hierarchy**: Proper parent-child relationships for Google
|
|
142
|
+
5. **No Orphans**: Every page linked from multiple sources
|
|
143
|
+
|
|
144
|
+
## WordPress Requirements
|
|
145
|
+
|
|
146
|
+
- WordPress REST API enabled
|
|
147
|
+
- Application passwords or admin credentials
|
|
148
|
+
- Permalinks set to `/%postname%/`
|
|
149
|
+
- AKA Framework Theme (included in assets)
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
# AKA Framework WordPress Theme
|
|
2
|
+
|
|
3
|
+
Simple, clean WordPress theme optimized for the **AKA (Authority-Knowledge-Answer)** framework.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
### Three Custom Page Templates
|
|
8
|
+
- **Authority Hub** - Main hub pages with child navigation
|
|
9
|
+
- **Knowledge Page** - Deep-dive content with related topics
|
|
10
|
+
- **Answer Page** - FAQ format optimized for featured snippets
|
|
11
|
+
|
|
12
|
+
### Built-in Components
|
|
13
|
+
- ✅ Breadcrumbs navigation
|
|
14
|
+
- ✅ Related topics/questions
|
|
15
|
+
- ✅ Quick navigation for hubs
|
|
16
|
+
- ✅ CTA boxes
|
|
17
|
+
- ✅ Mobile-responsive design
|
|
18
|
+
- ✅ SEO-optimized structure
|
|
19
|
+
- ✅ Clean, minimal design
|
|
20
|
+
|
|
21
|
+
### Easy Customization
|
|
22
|
+
- CSS variables for colors/spacing
|
|
23
|
+
- WordPress Customizer support
|
|
24
|
+
- Custom logo support
|
|
25
|
+
- Multiple navigation menus
|
|
26
|
+
- Widget-ready footer
|
|
27
|
+
|
|
28
|
+
## Installation
|
|
29
|
+
|
|
30
|
+
### Option 1: Upload via WordPress Admin
|
|
31
|
+
1. Go to **Appearance → Themes → Add New**
|
|
32
|
+
2. Click **Upload Theme**
|
|
33
|
+
3. Choose the `aka-framework-theme.zip` file
|
|
34
|
+
4. Click **Install Now**
|
|
35
|
+
5. Activate the theme
|
|
36
|
+
|
|
37
|
+
### Option 2: Manual Installation
|
|
38
|
+
1. Upload the `aka-framework-theme` folder to `/wp-content/themes/`
|
|
39
|
+
2. Go to **Appearance → Themes**
|
|
40
|
+
3. Activate **AKA Framework Theme**
|
|
41
|
+
|
|
42
|
+
## Usage
|
|
43
|
+
|
|
44
|
+
### Creating an Authority Hub
|
|
45
|
+
|
|
46
|
+
1. Create a new page in WordPress
|
|
47
|
+
2. Assign **Authority Hub** template
|
|
48
|
+
3. This becomes your main hub page
|
|
49
|
+
4. All child pages will appear in the quick navigation
|
|
50
|
+
|
|
51
|
+
### Creating Knowledge Pages
|
|
52
|
+
|
|
53
|
+
1. Create a new page
|
|
54
|
+
2. Set parent to your Authority Hub
|
|
55
|
+
3. Assign **Knowledge Page** template
|
|
56
|
+
4. Related sibling knowledge pages will auto-link
|
|
57
|
+
|
|
58
|
+
### Creating Answer Pages
|
|
59
|
+
|
|
60
|
+
1. Create a new page
|
|
61
|
+
2. Set parent to your Authority Hub
|
|
62
|
+
3. Assign **Answer Page** template
|
|
63
|
+
4. Use the excerpt for the "Quick Answer" box (featured snippet optimization)
|
|
64
|
+
5. Related questions will auto-link
|
|
65
|
+
|
|
66
|
+
## Page Structure Example
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
Authority Hub: Atlanta Car Accident Lawyer
|
|
70
|
+
├── Knowledge: Types of Car Accident Claims
|
|
71
|
+
├── Knowledge: Georgia Car Accident Laws
|
|
72
|
+
├── Knowledge: Insurance Claims Process
|
|
73
|
+
├── Answer: How long do I have to file a claim?
|
|
74
|
+
├── Answer: What is my case worth?
|
|
75
|
+
└── Answer: Do I need a lawyer?
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Customization
|
|
79
|
+
|
|
80
|
+
### Change Colors
|
|
81
|
+
|
|
82
|
+
**Method 1: WordPress Customizer**
|
|
83
|
+
- Go to **Appearance → Customize → Colors**
|
|
84
|
+
- Change Primary Color
|
|
85
|
+
|
|
86
|
+
**Method 2: Edit CSS Variables** (in `style.css`)
|
|
87
|
+
```css
|
|
88
|
+
:root {
|
|
89
|
+
--primary-color: #2563eb; /* Your brand color */
|
|
90
|
+
--secondary-color: #1e40af; /* Darker shade */
|
|
91
|
+
--accent-color: #f59e0b; /* Call-to-action color */
|
|
92
|
+
}
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Add Phone Number
|
|
96
|
+
|
|
97
|
+
1. Go to **Appearance → Customize**
|
|
98
|
+
2. Find "Phone Number" setting
|
|
99
|
+
3. Enter your phone number
|
|
100
|
+
4. It will appear in the footer
|
|
101
|
+
|
|
102
|
+
### Navigation Menus
|
|
103
|
+
|
|
104
|
+
Create two menus:
|
|
105
|
+
- **Primary Menu** - Main navigation (header)
|
|
106
|
+
- **Footer Menu** - Footer links
|
|
107
|
+
|
|
108
|
+
Go to **Appearance → Menus** to create them.
|
|
109
|
+
|
|
110
|
+
## File Structure
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
aka-framework-theme/
|
|
114
|
+
├── style.css # Main stylesheet with all CSS
|
|
115
|
+
├── functions.php # Theme functions and helpers
|
|
116
|
+
├── header.php # Site header
|
|
117
|
+
├── footer.php # Site footer
|
|
118
|
+
├── index.php # Fallback template
|
|
119
|
+
├── page-authority-hub.php # Authority Hub template
|
|
120
|
+
├── page-knowledge.php # Knowledge Page template
|
|
121
|
+
├── page-answer.php # Answer Page template
|
|
122
|
+
└── README.md # This file
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## Theme Functions
|
|
126
|
+
|
|
127
|
+
The theme includes helper functions you can use in templates:
|
|
128
|
+
|
|
129
|
+
```php
|
|
130
|
+
// Get hub navigation (child pages)
|
|
131
|
+
echo aka_get_hub_navigation();
|
|
132
|
+
|
|
133
|
+
// Get breadcrumbs
|
|
134
|
+
echo aka_get_breadcrumbs();
|
|
135
|
+
|
|
136
|
+
// Get related topics
|
|
137
|
+
echo aka_get_related_topics();
|
|
138
|
+
|
|
139
|
+
// Get related questions
|
|
140
|
+
echo aka_get_related_questions();
|
|
141
|
+
|
|
142
|
+
// Display CTA box
|
|
143
|
+
echo aka_get_cta_box( 'Title', 'Description', 'Button Text', 'Button URL' );
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## CSS Classes
|
|
147
|
+
|
|
148
|
+
Utility classes available:
|
|
149
|
+
|
|
150
|
+
```css
|
|
151
|
+
.text-center, .text-left, .text-right /* Text alignment */
|
|
152
|
+
.mt-sm, .mt-md, .mt-lg /* Margin top */
|
|
153
|
+
.mb-sm, .mb-md, .mb-lg /* Margin bottom */
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
## Browser Support
|
|
157
|
+
|
|
158
|
+
- ✅ Chrome (latest)
|
|
159
|
+
- ✅ Firefox (latest)
|
|
160
|
+
- ✅ Safari (latest)
|
|
161
|
+
- ✅ Edge (latest)
|
|
162
|
+
- ✅ Mobile browsers (iOS Safari, Chrome Mobile)
|
|
163
|
+
|
|
164
|
+
## Requirements
|
|
165
|
+
|
|
166
|
+
- WordPress 5.0 or higher
|
|
167
|
+
- PHP 7.4 or higher
|
|
168
|
+
|
|
169
|
+
## License
|
|
170
|
+
|
|
171
|
+
MIT License - Free for personal and commercial use
|
|
172
|
+
|
|
173
|
+
## Support
|
|
174
|
+
|
|
175
|
+
For issues or questions:
|
|
176
|
+
- GitHub: https://github.com/lebtiga/aka-wireframe-wp-system
|
|
177
|
+
- Documentation: See AKA-WIREFRAME-WP-COMPLETE.md
|
|
178
|
+
|
|
179
|
+
## Changelog
|
|
180
|
+
|
|
181
|
+
### Version 1.0.0
|
|
182
|
+
- Initial release
|
|
183
|
+
- Three custom page templates
|
|
184
|
+
- Mobile-responsive design
|
|
185
|
+
- SEO optimized structure
|
|
186
|
+
- Basic customization options
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
Built specifically for the AKA Wireframe WordPress system.
|