Commit 8a7581c
♿ a11y: fix template a11y issues that lower generated-site Lighthouse (a11y 92→~)
ProjectSites perf loop (idea #14) fire-27 audited a published generated site
(megabytespace) at Lighthouse a11y 92 and traced the issues to this template:
- Testimonials rating <div aria-label="N out of 5 stars"> had no role → a bare div
can't take aria-label (aria-prohibited-attr). Added role="img".
- Footer column headers were <h4> with no preceding h3 (section h2 → footer h4
skips a level → heading-order). Changed the 3 footer <h4>→<h3>.
Same a11y fixes already shipped on the projectsites.dev marketing homepage
(footer h4→h3, etc.). Every FUTURE generated build inherits these. (The carousel
target-size finding is AI-generated per-build, not in this base template.)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 152ee1c commit 8a7581c
2 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments